60 字
1 分钟
使用 Let's Encrypt 为 Traefik 制作证书并自动续期

前言#

你需要在 github 上找到 certbot-auto 并下载安装

手动#

Terminal window
./certbot-auto certonly -d *.xiange.tech -d *.blog.zhequtao.com -d blog.zhequtao.com -d xiange.tech --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory

DNS#

dns-plugins 中选择 cloudflare

https://certbot-dns-cloudflare.readthedocs.io/en/stable/

https://dash.cloudflare.com/sign-up

自动续期#

Terminal window
./certbot-auto renew

列出证书列表#

./certbot-auto certificates

删除证书#

./certbt-auto delete

使用 Let's Encrypt 为 Traefik 制作证书并自动续期
https://blog.zhequtao.com/posts/post/traefik-https/
作者
阿俊
发布于
2020-03-30
许可协议
CC BY-NC-SA 4.0

相关阅读