Hi everyone, i might have messed up my configuration and im not able to renew the certificate, any idea how to fix this ?
My domain is:
sica-web.app
I ran this command:
certbot renews
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/sica-web.app.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 sica-web.app
http-01 challenge for www.sica-web.app
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (sica-web.app) from /etc/letsencrypt/renewal/sica-web.app.conf produced an unexpected error: Failed authorization procedure. www.sica-web.app (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.sica-web.app/.well-known/acme-challenge/QR3ag6WPl60pRzIwxQeYiTIJdtkoOBtNoY7Yq_YjVCQ [178.128.101.145]: “\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n
404 Not Found
\r\n”, sica-web.app (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://sica-web.app/.well-known/acme-challenge/v_oTd2qkYLAAGGEn8kZ_v766Gipq_Grob7e6qnZLf18 [178.128.101.145]: “\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n
404 Not Found
\r\n”. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/sica-web.app/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/sica-web.app/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.sica-web.app
Type: unauthorized
Detail: Invalid response from
http://www.sica-web.app/.well-known/acme-challenge/QR3ag6WPl60pRzIwxQeYiTIJdtkoOBtNoY7Yq_YjVCQ
[178.128.101.145]: “\r\n404 Not
Found\r\n<body bgcolor=“white”>\r\n404
\r\n
Not Found
”Domain: sica-web.app
Type: unauthorized
Detail: Invalid response from
http://sica-web.app/.well-known/acme-challenge/v_oTd2qkYLAAGGEn8kZ_v766Gipq_Grob7e6qnZLf18
[178.128.101.145]: “\r\n404 Not
Found\r\n<body bgcolor=“white”>\r\n404
\r\n
Not Found
”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.
root@nodejs-webapp-ubuntu-s-1vcpu-1gb-sgp1-01:~# Attempting to renew cert (sica-web.app) from /etc/letsencrypt/renewal/sica-web.app.conf produced an unexpected error: Failed authorization procedure. www.sica-web.app (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.sica-web.app/.well-known/acme-challenge/QR3ag6WPl60pRzIwxQeYiTIJdtkoOBtNoY7Yq_YjVCQ [178.128.101.145]: “\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n404 Not Found
\r\n
”, sica-web.app (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://sica-web.app/.well-known/acme-challenge/v_oTd2qkYLAAGGEn8kZ_v766Gipq_Grob7e6qnZLf18 [178.128.101.145]: “\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n404 Not Found
\r\n
”. Skipping.
My web server is (include version):
Ubuntu 18.04.1
My hosting provider, if applicable, is:
Digital ocean
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 0.23.0