ubuntu自动申请免费ssl证书并配置nginx

ubuntu自动申请免费ssl证书并配置nginx
StarCertbot
更新你的包列表并安装 Certbot 和 Nginx 插件。
shell
1 | sudo apt update |
申请证书
shell
1 | sudo certbot --nginx -d example.com -d www.example.com |
手动测试续期过程
shell
1 | sudo certbot renew --dry-run |
更新你的包列表并安装 Certbot 和 Nginx 插件。
1 | sudo apt update |
申请证书
1 | sudo certbot --nginx -d example.com -d www.example.com |
手动测试续期过程
1 | sudo certbot renew --dry-run |