通过Certbot设置SSL证书(DNS 方式)

通过Certbot设置SSL证书(DNS 方式)

连祈
2024-11-04 / 0 评论 / 6 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2024年11月04日,已超过211天没有更新,若内容或图片失效,请留言反馈。
apt install certbot
certbot certonly  --preferred-challenges dns -d "*.example.com" -d example.com --manual
certbot renew --dry-run#--dry-run:这是一个选项,用于进行“干运行”(dry run)。它会模拟续期过程,以确保续期的配置和流程正常,但不会实际修改任何证书或进行任何 DNS 验证。
#但是因为我们用了manual所以
certbot certonly --manual --preferred-challenges dns -d owic.top
0

评论 (0)

取消