News:

ANTARES server runs on a Raspberry Pi 4.
Running Linux Raspian we use a Simple Machines Forum
that uses an Apache web server with MariaDB and PHP.
We use a SSL security certificate from Let's Encrypt.
Note: You are free to view all the contents but not to post.
If you need any assistance then email support@zipzap.co.uk

Main Menu

Let's Encrypt SSL - force renewal

Started by norman, Aug 03, 2022, 09:45 AM

Previous topic - Next topic

norman

The root certificate that Let's Encrypt use for the certification path recently expired, meaning that web sites using their security certificates may now be displaying security warnings.

The answer is to force the renewal of the site certificate manually to use the new root certificate.

In a terminal Window type :-

certbot certificates

This will show the sites connected with the certificate.

Then try :-

sudo certbot renew --force-renewal

or if you have one site :-

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

or more than one site :-

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

This should fix the issue.

Remember to check your .htaccess file is changing 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
 ;)