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)