Error when renew cerfiticates


#1

Hello guys,

Today i’m going to renew my certificates but i got that problem …

root@serveur:/var/www/panel# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/alproductions.fr.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 panel.alproductions.fr
http-01 challenge for alproductions.fr
http-01 challenge for cloud.alproductions.fr
http-01 challenge for www.alproductions.fr
Using the webroot path /var/www/alproductions.fr for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (alproductions.fr) from /etc/letsencrypt/renewal/alproductions.fr.conf produced an unexpected error: Failed authorization procedure. cloud.alproductions.fr (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cloud.alproductions.fr/.well-known/acme-challenge/nwC8tkr-v6Q01GMBEiUUn-EOzYamqTMCT64TzXoVciw: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p", panel.alproductions.fr (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://panel.alproductions.fr/.well-known/acme-challenge/MvA_caRADV60J7sK1lmfPrHQ0WinJ6mxmClMe45GrQo: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p". Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/alproductions.fr/fullchain.pem (failure)

-------------------------------------------------------------------------------

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/alproductions.fr/fullchain.pem (failure)
-------------------------------------------------------------------------------
1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: cloud.alproductions.fr
   Type:   unauthorized
   Detail: Invalid response from
   http://cloud.alproductions.fr/.well-known/acme-challenge/nwC8tkr-v6Q01GMBEiUUn-EOzYamqTMCT64TzXoVciw:
   "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>404 Not Found</title>
   </head><body>
   <h1>Not Found</h1>
   <p"

   Domain: panel.alproductions.fr
   Type:   unauthorized
   Detail: Invalid response from
   http://panel.alproductions.fr/.well-known/acme-challenge/MvA_caRADV60J7sK1lmfPrHQ0WinJ6mxmClMe45GrQo:
   "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>404 Not Found</title>
   </head><body>
   <h1>Not Found</h1>
   <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.

#2

It appears that your webroot is set incorrectly. You can test it by creating a text file at /var/www/alproductions.fr/.well-known/acme-challenge/test.txt, and then trying to browse to http://eachhostname/.well-known/acme-challenge/test.txt.


#3

I’ve do change on my webroot, and that work good for browse the test file
But i already got the same probleme when i try to renew certificates.
Nobody can help me ?


#4

Can you give examples of the links to your test files?

What did you do to update the webroot in your Certbot renewal configuration?


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.