I am having trouble renewing a certificate for one domain.
I ran this command: certbot renew --dry-run --debug
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/cloud.domain1.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:
http-01 challenge for cloud.domain1.com
Waiting for verificationâŚ
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0061_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0061_csr-certbot.pem
Processing /etc/letsencrypt/renewal/secure.domain2.nl.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:
http-01 challenge for secure.domain2.nl
Waiting for verificationâŚ
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0062_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0062_csr-certbot.pem
Processing /etc/letsencrypt/renewal/crm.domain3.com.conf
Cert is due for renewal, auto-renewingâŚ
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for crm.domain3.com
Waiting for verificationâŚ
Cleaning up challenges
Unable to clean up challenge directory /var/www/suitecrm/.well-known/acme-challenge
Attempting to renew cert from /etc/letsencrypt/renewal/crm.domain3.com.conf produced an unexpected error: Failed authorization procedure. crm.domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://crm.domain3.com/.well-known/acme-challenge/QQ5-bi-PtXyVh3cQ8VDM0gTLPjL-CMgUEf8bJGO93Jk: "
Processing /etc/letsencrypt/renewal/domain3.com.conf
Cert is due for renewal, auto-renewingâŚ
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for domain3.com
Waiting for verificationâŚ
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/domain3.com.conf produced an unexpected error: Failed authorization procedure. domain3.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain3.com/.well-known/acme-challenge/_pnYqX2EtGSfOEctVe326-iHmyCsvORP9Z8XAuj-r5k: "
Not Found
Th". Skipping. ** DRY RUN: simulating 'certbot renew' close to cert expiry ** (The test certificates below have not been saved.)The following certs were successfully renewed:
/etc/letsencrypt/live/cloud.domain1.com/fullchain.pem (success)
/etc/letsencrypt/live/secure.domain2.nl/fullchain.pem (success)
The following certs could not be renewed:
/etc/letsencrypt/live/crm.domain3.com/fullchain.pem (failure)
/etc/letsencrypt/live/domain3.com/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates above have not been saved.)
Traceback (most recent call last):
File â/usr/bin/certbotâ, line 11, in
load_entry_point(âcertbot==0.10.2â, âconsole_scriptsâ, âcertbotâ)()
File â/usr/lib/python2.7/dist-packages/certbot/main.pyâ, line 849, in main
return config.func(config, plugins)
File â/usr/lib/python2.7/dist-packages/certbot/main.pyâ, line 655, in renew
renewal.handle_renewal_request(config)
File â/usr/lib/python2.7/dist-packages/certbot/renewal.pyâ, line 430, in handle_renewal_request
len(renew_failures), len(parse_failures)))
Error: 2 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: crm.domain3.com
<meta name="viewpo"
Type: unauthorized
Detail: Invalid response from
http://crm.domain3.com/.well-known/acme-challenge/QQ5-bi-PtXyVh3cQ8VDM0gTLPjL-CMgUEf8bJGO93Jk:
"To 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. -
The following errors were reported by the server:
Domain: domain3.com
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://domain3.com/.well-known/acme-challenge/_pnYqX2EtGSfOEctVe326-iHmyCsvORP9Z8XAuj-r5k:
"Not Found
Th"To 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.
My web server is (include version): Apache/2.4.10 (Raspbian)
The operating system my web server runs on is (include version): raspbian lite jessie
My hosting provider, if applicable, is: not applicable
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
Other details:
it has worked and then stopped working and donât remember changing anything that would cause this behavior
if i create testfile in /.well-known/acme-challenge then I can read the file in browser with no problems
i have http forewarded to https to force use of https