mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 支持部署到exsi,openwrt
This commit is contained in:
@@ -3,9 +3,9 @@ default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: 1PanelDeployToWebsitePlugin
|
||||
title: 1Panel-部署证书到1Panel
|
||||
title: 1Panel-更新证书
|
||||
icon: svg:icon-onepanel
|
||||
desc: 更新1Panel的证书
|
||||
desc: 更新1Panel的证书,包括面板证书和站点证书
|
||||
group: panel
|
||||
needPlus: false
|
||||
input:
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: ExsiDeployCert
|
||||
title: Exsi-部署证书到Exsi
|
||||
icon: svg:icon-lucky
|
||||
group: host
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: 主机SSH授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: ssh
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
type: builtIn
|
||||
scriptFilePath: /plugins/plugin-plus/exsi/plugin-deploy-to-exsi.js
|
||||
@@ -0,0 +1,30 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: OpenwrtDeployCert
|
||||
title: Openwrt-部署证书到Openwrt
|
||||
icon: svg:icon-lucky
|
||||
group: host
|
||||
needPlus: true
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- ':cert:'
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: 主机SSH授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: ssh
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
type: builtIn
|
||||
scriptFilePath: /plugins/plugin-plus/openwrt/plugin-deploy-to-openwrt.js
|
||||
@@ -6,7 +6,7 @@ name: uploadCertToHost
|
||||
title: 主机-部署证书到SSH主机
|
||||
icon: line-md:uploading-loop
|
||||
group: host
|
||||
desc: SFTP上传证书到主机,然后SSH执行部署脚本命令
|
||||
desc: 上传证书到主机覆盖原来的证书文件,然后自动执行部署脚本命令使证书生效
|
||||
order: 1
|
||||
input:
|
||||
cert:
|
||||
@@ -20,12 +20,14 @@ input:
|
||||
order: 0
|
||||
certType:
|
||||
title: 证书格式
|
||||
helper: 要部署的证书格式,支持pem、pfx、der、jks
|
||||
helper: |-
|
||||
要部署的证书格式,支持pem/crt、pfx、der、jks、p7b
|
||||
你原来的证书是哪种格式就选择哪种
|
||||
component:
|
||||
name: a-select
|
||||
options:
|
||||
- value: pem
|
||||
label: pem(crt),Nginx等大部分应用
|
||||
label: pem/crt,用于Nginx等大部分应用,证书和私钥2个文件
|
||||
- value: pfx
|
||||
label: pfx,一般用于IIS
|
||||
- value: der
|
||||
|
||||
Reference in New Issue
Block a user