NET::ERR_CERT_DATE_INVALID - cannot view certificates

I cannot access my website without HTSTS Warnings.

My domain is:crockerycentre.com

I ran this command: sudo certbot renew

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/crockerycentre.com.conf


Cert not yet due for renewal


The following certs are not due for renewal yet:
/etc/letsencrypt/live/crockerycentre.com/fullchain.pem expires on 2024-06-13 (skipped)
No renewals were attempted.

I then ran : certbot certificates
Output : Renewal configuration file /etc/letsencrypt/renewal/crockerycentre.com.conf produced an unexpected error: '_RSAPublicKey' object has no attribute 'verifier'. Skipping.


The following renewal configurations were invalid:
/etc/letsencrypt/renewal/crockerycentre.com.conf


My web server is (include version): EC2 Ubuntu 20.04

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is: AWS EC2/ Afrihost DNS

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 0.40.0

Please update your Certbot and try again. 0.40.0 is ancient.

1 Like

Should I go the snapd way? (ie remove the one installed using apt?)

That's indeed the recommended method of installing Certbot on most system, but I don't have experience with EC2.

Alternatively you could use pip in a Python venv.

See Certbot Instructions | Certbot for more information.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.