当部署 certbot 成功后,剩下的任务就是通读官方文档,以解决各种问题:
Welcome to the Certbot documentation! — Certbot 1.15.0.dev0 documentation
性能测试
http_load – multiprocessing http test client
在证书自动续期后,自动重启相关服务
User Guide — Certbot 1.15.0.dev0 documentation
在 Certbot 自动续期之后,需要重启相关服务,比如 Nginx 服务,以应用新的证书。
通过命令行:
certbot renew --deploy-hook "/path/to/deploy-hook-script"
通过配置文件:脚本保存在 /etc/letsencrypt/renewal-hooks/deploy 目录,当证书申请成功后,certbot 将执行该目录下的脚本。