My Let's Encrypt SSL certificate will expire in 0 day (not yet)...
I use it for a website in nginx & a ubuntu 14.04 server in DigitalOcean.
I have found a folder /etc/letsencrypt/
, and in the server block:
ssl_certificate /etc/letsencrypt/live/mysite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mysite.com/privkey.pem;
However, I cannot find for example letsencrypt-auto
Does anyone know how to manually renew it?
Actually, I don't remember how I generated the SSL certificate for the first time. To renew it, by following this thread , I first installed cerbot
:
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
Then, I need to make sure the path and setting are correct as described in the thread. Then I did
sudo certbot renew
That's it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.