怎样使用CertBot自动签发和续签证书

2020年3月19日 | 分类: 【技术】

【介绍】

参考:https://amon.org/le

参考:https://blog.csdn.net/shasharoman/article/details/79615023
参考:https://yq.aliyun.com/articles/713724

【排错】

参考:https://learnku.com/articles/16996/certbot-application-for-https-certificate-renewal-error-reporting-solution

cd /usr/local/nginx/ssl/
wget https://raw.githubusercontent.com/al-one/certbot-auth-dnspod/master/certbot-auth-dnspod.sh
chmod +x certbot-auth-dnspod.sh

名称: certbot
ID:171875
Token:fde3c2c2297fce79d8c1dd2e32978027
创建时间: 2020-07-20 23:34:26

续签

./certbot-auto renew –manual-auth-hook /usr/local/nginx/ssl/certbot-auth-dnspod.sh

./certbot-auto –server https://acme-v02.api.letsencrypt.org/directory -d whoisdog.cn -d “*.whoisdog.cn” –manual –preferred-challenges dns-01 certonly
./certbot-auto –server https://acme-v02.api.letsencrypt.org/directory -d chuangmou.com.cn -d “*.chuangmou.com.cn” –manual –preferred-challenges dns-01 certonly

怎样使用Python

怎样安装python的pip工具模块

参考:https://www.jianshu.com/p/b8ca94730e89

ln -s /usr/bin/python2 /usr/bin/python