ZiPZAP Computers Limited

Miscellaneous => Miscellaneous => Topic started by: norman on January 09, 2022, 08:00:04 pm

Title: Let's Encrypt web site cert will not renew
Post by: norman on January 09, 2022, 08:00:04 pm
On Linux to see certificates type -

sudo certbot certificates

To renew manually -

sudo certbot renew --force-renewal

If you just have one site try -

sudo certbot certonly --force-renew --cert-name sitename.com

Or more than one site -

sudo certbot --force-renew -d sitename1.com -d sitename2.com

And check .htaccess redirects http to https

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

Norman
 ;)