certd/docs/guide/use/https/index.md

28 lines
617 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Certd本身的https证书配置
## 一、启用https
`Certd`默认启用https监听7002端口
如果你想关闭https或者修改端口可以在环境变量中配置
```shell
CERTD_HTTPS_ENABLE=true
CERTD_HTTPS_port=7002
```
## 二、自动更新Certd的https证书
### 1、创建证书流水线
参考Certd顶部的创建证书流水线教程
### 2、配置复制到本机任务
![](./images/1.png)
![](./images/2.png)
### 3、重启Certd
![img.png](./images/3.png)
:::warning
重启Certd插件并不具备重启自己的能力而是`杀死自己`,然后靠`Docker`来重启自己
:::