Renewal of Let's Encrypt Certificates

In an earlier post I showed how to optain a TLS certificate from the Let’s Encrypt certification authority. As those certificates are only valid for 90 days you will have to renew them early enough. But no worries, Let’s Encrypt will remind you of an upcoming certificate expiry by sending you a certificate expiration notice via email.

Presuming you followed the steps from my earlier post, these are the steps to renew your certificate:

$ cd letsencrypt
$ git pull
$ 
$ sudo service nginx stop
$ sudo ./letsencrypt-auto certonly --standalone -d layereight.de
$ sudo service nginx start

Again, if everything went well we will find our renewed certificates in /etc/letsencrypt/live/layereight.de/.