Sunday, December 5, 2021

Renewing Lets encrypt certficate.

How to forcefully renew Let’s Encrypt certificate

In Linux and Unix, there are multiple ways to issue and renew the Letsencrypt TLS/SSL certificates. However, in this tutorial, we are going to use the two most popular command-line tools that you can use:


We can always force cert renewal even if it is not near its expiration date.

certbot – Request a new certificate using 

certbot renew --force-renewal command. 


We can specify domains using the -d option. For example, certbot -d cyberciti.biz,www.cyberciti.biz,test.cyberciti.biz --force-renewal

acme.sh – Force to renew a cert immediately using the acme.sh -f -r -d www.cyberciti.biz