certbot
小于 1 分钟
certbot
# openresty 配置为nginx 命令
# 生成证书后重载 nginx -s reload
certbot --nginx
certbot --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log
NGINX derivative openresty is not officially supported by certbot
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: xxx1
2: xxx2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1 2