版权声明:如需转载,请注明作者及出处 https://blog.csdn.net/qq_33317586/article/details/83587726
环境:虚拟机Ubuntu18.04
一、安装cerbot
二、开始生成
报错:
再次尝试:
报错:
再次尝试
第三步、解析
第四步、测试
第五步、继续
总结:关键性的命令:
root@qqq:/var/log/letsencrypt# certbot --manual -d *.uscwifi.cn -d uscwifi.cn --agree-tos --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory certonly
声明一下:失败的原因是一直找不到cname解析,可能要多等一会儿,不要着急!就用上面的命令即可
失败的命令:
root@qqq:/var/log/letsencrypt# certbot --manual -d *.uscwifi.cn -d uscwifi.cn --agree-tos --manual-public-ip-logging-ok --preferred-challenges http --server https://acme-v02.api.letsencrypt.org/directory certonly