add interface and fix
This commit is contained in:
parent
bb46f5adc4
commit
c16ee9ca2c
13 changed files with 573 additions and 89 deletions
|
@ -1,3 +1,4 @@
|
|||
# 更新或安装证书
|
||||
## 安装acme.sh,并使用dns方式生成证书
|
||||
```shell
|
||||
# 安装acme.sh
|
||||
|
@ -21,3 +22,9 @@ acme.sh --install-cert -d turingsynergy.com \
|
|||
--fullchain-file /opt/webhook/scripts/tlsupdatev1/ssl//turingsynergy.com.pem \
|
||||
--reloadcmd "curl 'https//webhook-ops.shasoapp.com/hooks/tlsupdate?action=upadte&&id=[华为云中配置的证书id]'"
|
||||
```
|
||||
|
||||
# 查看证书状态
|
||||
```shell
|
||||
# 如果证书有效期小于一周,推送通知到飞书,点击链接即可更新证书(前提是本地证书已更新)
|
||||
curl 'https//webhook-ops.shasoapp.com/hooks/tlsupdate?action=status&&id=[华为云中配置的证书id]'
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue