Just tried to renew certificates for 2 domains hosted in a single Amazon Lightsail instance. My original domain is argfam.net. Have renewed this certificate numerous times with nos issues, including today. I also have a WordPress application called acsls.org set up as virtual host. No issue when I added the certificate on June 21, 2019. It is good until Sep 19 so need to get it renewed. When I ran the renew command only argfam.net renewed successfully.
My domain is: acsls.org AND argfam.net (argfam.net is my main, static site. acsls.org is a virtual WordPress site. argfam.net certificate renews fine. acsls.org certificate throws an error when trying to renew it.
I ran this command: sudo ./certbot-auto renew
It produced this output:
Upgrading certbot-auto 0.36.0 to 0.37.2…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…
Installation succeeded.
/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_t
ime.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
utils.PersistentlyDeprecated2018,
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/acsls.org.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for acsls.org
http-01 challenge for www.acsls.org
Using the webroot path /opt/bitnami/apps/acsls/htdocs for all unmatched domains.
Waiting for verification…
Challenge failed for domain acsls.org
Challenge failed for domain www.acsls.org
http-01 challenge for acsls.org
http-01 challenge for www.acsls.org
Cleaning up challenges
Attempting to renew cert (acsls.org) from /etc/letsencrypt/renewal/acsls.org.conf produced an unexpected error: Some challenges have failed… Skipping.
Processing /etc/letsencrypt/renewal/argfam.net.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for argfam.net
Waiting for verification…
Cleaning up challenges
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/argfam.net/fullchain.pem
The following certs could not be renewed:
/etc/letsencrypt/live/acsls.org/fullchain.pem (failure)
The following certs were successfully renewed:
/etc/letsencrypt/live/argfam.net/fullchain.pem (success)
The following certs could not be renewed:
/etc/letsencrypt/live/acsls.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: acsls.org
Type: connection
Detail: Fetching
http://acsls.org/.well-known/acme-challenge/hrUDayccxtrVhtW4AM-tDyx6LvwlEHBtynvw6qnH0ns:
Connection refusedDomain: www.acsls.org
Type: connection
Detail: Fetching
http://www.acsls.org/.well-known/acme-challenge/LmSAnOrHQcKpp0H_NKQBUZieZMmSoOavBXTisQdQ7uE:
Connection refusedTo 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.
NOTE: the argfam.net certificate renewed with no issues. This was the first time I was renewing the acsls.org certificate as it is a new site. No issues when I originally added the certificate to acsls.org.
My web server is (include version): Apache/2.4.25 (Unix)
The operating system my web server runs on is (include version): Ubuntu 14.04.5 LTS"
My hosting provider, if applicable, is: Amazon Lightsail
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): /usr/lib/python3/dist-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.25.3) o
r chardet (3.0.4) doesn’t match a supported version!
RequestsDependencyWarning)
certbot 0.28.0