I’m trying to renew my certs on Ubuntu 16.04 with Apache and I’m getting the above error. It was setup according to this article. I’m fairly certain that the dry-run succeeded a few months ago when I first set this up, but now it’s not working. Any assistance would be appreciated. All of my domains are A records pointing to my IP.
My domain is: stonewallgaming.net
I ran this command: sudo certbot renew
It produced this output:
Processing /etc/letsencrypt/renewal/stonewallgaming.net.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer apache
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Running pre-hook command: service apache2 stop
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for stonewallgaming.net
tls-sni-01 challenge for fleet.stonewallgaming.net
tls-sni-01 challenge for knights.stonewallgaming.net
tls-sni-01 challenge for swvg.stonewallgaming.net
tls-sni-01 challenge for www.stonewallgaming.net
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (stonewallgaming.net) from /etc/letsencrypt/renewal/stonewallgaming.net.conf produced an unexpected error: Failed authorization procedure. stonewallgaming.net (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Error getting validation data. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/stonewallgaming.net/fullchain.pem (failure)
-------------------------------------------------------------------------------
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/stonewallgaming.net/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
-------------------------------------------------------------------------------
Running post-hook command: service apache2 start
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: stonewallgaming.net
Type: connection
Detail: Error getting validation data
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version): Apache 2.4.18
The operating system my web server runs on is (include version): Ubuntu 16.04
My hosting provider, if applicable, is: DigitalOcean
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):