My domain is: wardofcode.com, match.wardofcode.com, wickedsales.wardofcode.com
I ran this command: sudo certbot renew
It produced this output:
Processing /etc/letsencrypt/renewal/match.wardofcode.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Attempting to renew cert (match.wardofcode.com) from /etc/letsencrypt/renewal/match.wardofcode.com.conf produced an unexpected error: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dba87cc50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)). Skipping.
Processing /etc/letsencrypt/renewal/wardofcode.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Attempting to renew cert (wardofcode.com) from /etc/letsencrypt/renewal/wardofcode.com.conf produced an unexpected error: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dba723438>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)). Skipping.
Processing /etc/letsencrypt/renewal/wickedsales.wardofcode.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Attempting to renew cert (wickedsales.wardofcode.com) from /etc/letsencrypt/renewal/wickedsales.wardofcode.com.conf produced an unexpected error: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dbb03d780>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)). Skipping.
I'm also having the same type of error on my other domains as well from the renew command
Super new to all this so not super sure about the following three
My web server is (include version): Ubuntu 18.04.3 LTS (GNU/Linux 5.4.0-1048-aws x86_64)
The operating system my web server runs on is (include version): Ubuntu 18.04.3 LTS (GNU/Linux 5.4.0-1048-aws x86_64)
My hosting provider, if applicable, is: AWS
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): not sure
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 0.31.0
I'm using gitbash to ssh into the AWS ubuntu server. I originally was able to get certificates for my domain a few years back no problem, and auto renew has occurred without me needing to do anything previously. But now renewal won't occur.
sudo certbot certificates
produces the following (note, I'm excluding the failed checks for other domains for legibility):
Saving debug log to /var/log/letsencrypt/letsencrypt.log
OCSP check failed for /etc/letsencrypt/live/match.wardofcode.com/cert.pem (are we offline?)
OCSP check failed for /etc/letsencrypt/live/wardofcode.com/cert.pem (are we offline?)
OCSP check failed for /etc/letsencrypt/live/wickedsales.wardofcode.com/cert.pem (are we offline?)
Found the following certs:
Certificate Name: match.wardofcode.com
Domains: match.wardofcode.com
Expiry Date: 2022-04-28 23:29:51+00:00 (INVALID: EXPIRED)
Certificate Path: /etc/letsencrypt/live/match.wardofcode.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/match.wardofcode.com/privkey.pem
Certificate Name: wardofcode.com
Domains: wardofcode.com
Expiry Date: 2022-06-11 03:21:20+00:00 (VALID: 8 days)
Certificate Path: /etc/letsencrypt/live/wardofcode.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/wardofcode.com/privkey.pem
Certificate Name: wickedsales.wardofcode.com
Domains: wickedsales.wardofcode.com
Expiry Date: 2022-04-28 23:30:11+00:00 (INVALID: EXPIRED)
Certificate Path: /etc/letsencrypt/live/wickedsales.wardofcode.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/wickedsales.wardofcode.com/privkey.pem
I've been looking at a lot of other posts for similar issues for weeks now and I'm pretty confused what I need to do to fix this.