Author Topic: Letsencrypt renew unauthorized  (Read 5342 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Letsencrypt renew unauthorized
« on: December 04, 2017, 12:29:33 PM »
Hello!

I'm trying renew one of my subdomains certificates with no success.

It seems this issue happens after CWP cron update of last 29 Nov.

I have other 2 subdomains certificates without problems. sub1.mydomain.com and sub2.mydomain.com

After trying renew in CWP GUI without success. I tried in command line with this error:

/opt/cwp_letsencrypt/certbot-auto certonly --force-renewal -a webroot -d webmail.mydomain.com -w /usr/local/apache/htdocs/
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for webmail.mydomain.com
Using the webroot path /usr/local/apache/htdocs for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. webmail.mydomain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://webmail.mydomain.com/.well-known/acme-challenge/hf2z5Q7HfTN6YIo63zK3orLpT429K5r5YOqtSkNPtF0: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"

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

   Domain: webmail.mydomain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://webmail.mydomain.com/.well-known/acme-challenge/hf2z5Q7HfTN6YIo63zK3orLpT429K5r5YOqtSkNPtF0:
   "<html>
   <head><title>404 Not Found</title></head>
   <body bgcolor="white">
   <center><h1>404 Not Found</h1></center>
   <hr><center>"

   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.



Can anyone help me?
Tks