MaintenancePermalink Renew SSL Certificates

1、Return to the /opt/letsencrypt directory:

cd /opt/letsencrypt

2、Execute the command you used in Step 1 of the Create an SSL Certificate section, adding the --renew-by-default parameter:

sudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d example.com -d www.example.com

3、After a few moments, a confirmation similar to the one below should appear:


IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/example.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/example.com/privkey.pem
Your cert will expire on 2018-05-27. To obtain a new or tweaked
version of this certificate in the future, simply run
letsencrypt-auto again. To non-interactively renew *all* of your
certificates, run "letsencrypt-auto renew"
- If you like Certbot, please consider supporting our work by:

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

发表评论

电子邮件地址不会被公开。 必填项已用*标注