Manually Renewing Let's Encrypt SSL [CentOS + Nginx Edition]

Tadashi Shigeoka ·  Thu, August 30, 2018

I’ll introduce how to manually renew SSL in a CentOS + Nginx + Let’s Encrypt environment.

Let's Encrypt

Let's Encrypt SSL Configuration

As a prerequisite, assume that SSL has been installed according to the article Setting up SSL with Let’s Encrypt [CentOS + Nginx Edition] on this site.

Let's Encrypt Manual Renewal

The shell script to manually renew Let’s Encrypt is as follows:

service nginx stop
/usr/local/certbot/certbot-auto renew --renew-hook "service nginx restart"

That’s all from the Gemba where I manually renewed Let’s Encrypt SSL.