Hi,
awsdevopro and Juergen - sorry for intrusion. looks like I have same problem. and I am not sure I understand why is that.
My domain is:
stored2ship.com
I ran this command:
certbot --version
certbot 0.29.1
#sh -c “sed -i.bak -e ‘s/^(pref_challs.)tls-sni-01(.)/\1http-01\2/g’ /etc/letsencrypt/renewal/; rm -f /etc/letsencrypt/renewal/.bak”
certbot renew --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/stored2ship.com.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for stored2ship.com
http-01 challenge for www.stored2ship.com
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (stored2ship.com) from /etc/letsencrypt/renewal/stored2ship.com.conf produced an unexpected error: Failed authorization procedure. www.stored2ship.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.stored2ship.com/.well-known/acme-challenge/TkuNAp-9ZHYOjq9_sgrBVD7NkGbOpUNfBkrCmwOFxEs: “\n\n404 Not Found\n\n
Not Found
\n<p”, stored2ship.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://stored2ship.com/.well-known/acme-challenge/u9NFrk7UbmNJJXIZKWA61nt3l6zfTLCPYR8HTnk6HJc: “\n\n404 Not Found\n\nNot Found
\n<p”. Skipping.All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/stored2ship.com/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/stored2ship.com/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.stored2ship.com
Type: unauthorized
Detail: Invalid response from
http://www.stored2ship.com/.well-known/acme-challenge/TkuNAp-9ZHYOjq9_sgrBVD7NkGbOpUNfBkrCmwOFxEs:
“\n\n404 Not
Found\n\nNot Found
\n<p”Domain: stored2ship.com
Type: unauthorized
Detail: Invalid response from
http://stored2ship.com/.well-known/acme-challenge/u9NFrk7UbmNJJXIZKWA61nt3l6zfTLCPYR8HTnk6HJc:
“\n\n404 Not
Found\n\nNot Found
\n<p”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.
My web server is (include version):
httpd -version
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
The operating system my web server runs on is (include version):
rpm --query centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
My hosting provider, if applicable, is:
vpsdime vps
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):
certbot --version
certbot 0.29.1
##################
curl -X GET -I https://www.stored2ship.com
HTTP/1.1 200 OK
Date: Tue, 29 Jan 2019 06:33:57 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
X-Powered-By: PHP/5.4.16
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
[root@stored2ship log]# curl -X GET -I http://www.stored2ship.com
HTTP/1.1 302 Found
Date: Tue, 29 Jan 2019 06:34:39 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
Location: https://www.stored2ship.com/index.php
Content-Length: 221
Content-Type: text/html; charset=iso-8859-1
[root@stored2ship log]# curl -X GET -I http://stored2ship.com
HTTP/1.1 302 Found
Date: Tue, 29 Jan 2019 06:34:50 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
Location: https://www.stored2ship.com/index.php
Content-Length: 221
Content-Type: text/html; charset=iso-8859-1
Thank you.