Let's encrypt 获取证书Nginx

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot 

手动 只获取证书
certbot certonly --standalone -d kdaye.com -d www.kdaye.com
输入邮箱
输入A为同意
输入Y为同意愿意接受邮件


IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/kdaye.com/fullchain.pem. Your cert will
our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

自动续签
certbot renew --dry-run

Show Comments