Please fill out the fields below so we can help you better.
My domain is:
www.petiteng.com
www.petitteengineering.com
I ran this command:
sudo certbot renew --dry-run
as well as
sudo certbot renew --dry-run --standalone (certbot was originally attempting to stop the nginx server on its own, but I stopped nginx already. Adding --standalone seemed to stop that behavior. I did this to try to make the environment similar to a server that IS working and can renew certs.)
Both commands produced similar output(below).
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.petiteng.com.conf
Cert not due for renewal, but simulating renewal for dry run
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for www.petiteng.com
Waiting for verificationā¦
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/www.petiteng.com.conf produced an unexpected error: Failed authorization procedure. www.petiteng.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 24.125.106.205:443 for TLS-SNI-01 challenge. Skipping.
Processing /etc/letsencrypt/renewal/www.petitteengineering.com.conf
Cert not due for renewal, but simulating renewal for dry run
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for www.petitteengineering.com
Waiting for verificationā¦
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/www.petitteengineering.com.conf produced an unexpected error: Failed authorization procedure. www.petitteengineering.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 24.125.106.205:443 for TLS-SNI-01 challenge. Skipping.
** 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/www.petiteng.com/fullchain.pem (failure)
/etc/letsencrypt/live/www.petitteengineering.com/fullchain.pem (failure)
** DRY RUN: simulating ācertbot renewā close to cert expiry
** (The test certificates above have not been saved.)
2 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.petiteng.com
Type: connection
Detail: Failed to connect to 24.125.106.205:443 for TLS-SNI-01
challengeTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A 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. -
The following errors were reported by the server:
Domain: www.petitteengineering.com
Type: connection
Detail: Failed to connect to 24.125.106.205:443 for TLS-SNI-01
challengeTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A 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 operating system is (include version):
Ubuntu 16.04.2 LTS
My web server is (include version):
nginx version: nginx/1.10.3
My hosting provider, if applicable, is:
I host myself.
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
In an attempt to isolate the problem, I created a duplicate server on the same network (i will call it S2) that runs a dummy āhellow worldā response when hit on port 80 (just so I know when it is accessible from outside my network). I forwarded all port 80 and 443 traffic to S2 instead of the problem server, and I pointed a new domain (www.bebopreview.com) to petitteng.mynetgear.com (which is my dynamic DNS hostname I use to ensure my router has a pseudo static IP). S2 worked flawlessly. It obtained a cert, and can renew a cert (dry-run). When I directed www.petitteengineering.com to the dynamic DNS hostname, and changed port forwarding for 80 and 443 to my problem server, I could obtain new certs for www.petiteng.com and www.petitteengineering.com, but the renewal dry run still failed.
When I have nginx running, the www.petitteengineering.com functions properly over ssl. Nothing seems odd.
Iām a bit stumped.