• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Letsencrypt Error - Type: unauthorized

Marc77

New Pleskian
Hello,

I was running Plesk 11 and I tried to install letsencrypt via ssh without success. During this time my host had DNS Problems.

2 days later I found out, that Plesk 12.5 have a letsencrypt extension. I made an update to 12.5 and installed the letsencrypt extension. When I try to create the certifacte for the domain I tried before, I get this error:

----
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mydomain.de
Starting new HTTPS connection (1): 127.0.0.1
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mydomain.de (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain.de/.well-known/acme-challenge/sYj-C84PkAIVPVhKdPadvwijfXxqOE08nyDgwfAuhO4: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html"
IMPORTANT NOTES:
- The following errors were reported by the server:

Domain: mydomain.de
Type: unauthorized
Detail: Invalid response from
http://mydomain.de/.well-known/acme-challenge/sYj-C84PkAIVPVhKdPadvwijfXxqOE08nyDgwfAuhO4:
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
-----

For other domains and subdomain in Plesk letsencrypt is working perfect, only for this domain I tried before via ssh its not working. Do you have a fix for this?

Kind regards
 
Hi IgorG,

thank you. I already found this arcticle and checked it many times. This article described a 404 error but I dont a have a 404 error message as you can see in my error.

Thank you for more help. I would appriciate it.

Kind regards
 
Back
Top