My domain is:
cloud.versus-alternative.ch
erp.versus-alternative.ch
planning.versus-alternative.ch
planning.versus-alternative.com
planning2016.versus-alternative.ch
planning2017.versus-alternative.ch
planning2018.versus-alternative.ch
planning2018.versus-alternative.com
pointage.versus-alternative.ch
pointage2017.versus-alternative.ch
I ran this command:
sudo certbot renew --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/cloud.versus-alternative.ch.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for cloud.versus-alternative.ch
http-01 challenge for erp.versus-alternative.ch
http-01 challenge for planning.versus-alternative.ch
http-01 challenge for planning.versus-alternative.com
http-01 challenge for planning2016.versus-alternative.ch
http-01 challenge for planning2017.versus-alternative.ch
http-01 challenge for planning2018.versus-alternative.ch
http-01 challenge for planning2018.versus-alternative.com
http-01 challenge for pointage.versus-alternative.ch
http-01 challenge for pointage2017.versus-alternative.ch
http-01 challenge for www.planning2016.versus-alternative.ch
Waiting for verificationā¦
Cleaning up challenges
Attempting to renew cert (cloud.versus-alternative.ch) from /etc/letsencrypt/renewal/cloud.versus-alternative.ch.conf produced an unexpected error: Failed authorization procedure. erp.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://erp.versus-alternative.ch/.well-known/acme-challenge/R7UqrzEBtff7y6yRdPzsNIy0GVvTxUsCWJrYexgvvhE [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, planning.versus-alternative.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://planning.versus-alternative.com/.well-known/acme-challenge/HrRTwJJhhDSMnzzqn00QLQWbIRKyMwb5nKIYUo32iCA [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, cloud.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cloud.versus-alternative.ch/.well-known/acme-challenge/H4qMyHlYu762yKA_m2PFTgjJEn2gxIBdB_2PXHTJnng [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, planning2018.versus-alternative.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://planning2018.versus-alternative.com/.well-known/acme-challenge/xp9hDQ74rfK8rMrGwkOpBv83URykZcGpbPQM-T_V1kw [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, planning.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://planning.versus-alternative.ch/.well-known/acme-challenge/RAbcv_WDNd_91D4EH4viUgYG6SWfxYBMJAo0HdOLU1U [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, planning2017.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://planning2017.versus-alternative.ch/.well-known/acme-challenge/hP1fXi_lRHu4Iny-z0B4NLIvXgfvlcBVdybIw-Cw5y8 [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, planning2018.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://planning2018.versus-alternative.ch/.well-known/acme-challenge/YluzvbD6F6rLPEFi7uoIiSJ20Egh8tAdiaaRXgLFmZE [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā, pointage.versus-alternative.ch (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://erp.versus-alternative.ch/.well-known/acme-challenge/k2qGTz8KJRfefDQfLfuWTt263QpFb_U_CshwICxDs2U [37.59.54.183]: ā<!DOCTYPE HTML PUBLIC ā-//IETF//DTD HTML 2.0//ENā>\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<pā. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/cloud.versus-alternative.ch/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/cloud.versus-alternative.ch/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: erp.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: planning.versus-alternative.com
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: cloud.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: planning2018.versus-alternative.com
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: planning.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: planning2017.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: planning2018.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: pointage.versus-alternative.ch
Type: unauthorized
Detail: Invalid response from
[37.59.54.183]: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\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):
apache 2.4.7
The operating system my web server runs on is (include version):
ubuntu 14.04
My hosting provider, if applicable, is:
self hosted on a dedicated server
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 0.28.0
More information:
I have been using Certbot for a couple of months. It was all good until I received the email stating that TLS-SNI-01 wonāt be supported anymore. So I followed this tutorial: How to stop using TLS-SNI-01 with Certbot and the dry run was successful. So I thought I was all good. But then my certificates all expired today, so I uninstalled certbot (sudo certbot delete), and re-installed it (sudo certbot --apache). The install was successful (all certificates are generated, all my websites are accessible through https://). But then I try to run sudo certbot renew --dry-run to make sure this time they will renew properly, and I get the console log that you find up there.
So I have been looking around to fix the issue. I made sure http://cloud.versus-alternative.ch/.well-known/acme-challenge/ is accessible through the web by creating a test file: http://cloud.versus-alternative.ch/.well-known/acme-challenge/test and indeed it works. Iāve made sure my DNS entries for these domain names are pointing to the right IP v4 address, and they are. So Iām a bit lost. Where can this problem come from ?
Thanks a lot for any help