Author Topic: Let's Encrypt web site cert will not renew  (Read 6094 times)

0 Members and 1 Guest are viewing this topic.

norman

  • Administrator
  • Sr. Member
  • *****
  • Posts: 272
    • View Profile
    • Zipzap Computers Limited
Let's Encrypt web site cert will not renew
« 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
 ;)
« Last Edit: September 04, 2022, 09:47:21 pm by norman »