- Plesk for Windows
When issuing a Let's Encrypt certificate for a domain in Plesk for Windows Server, one of the following error messages appears:
PLESK_ERROR: Error: Could not issue a Let's Encrypt SSL/TLS certificate for example.com.
The authorization token is not available at http://example.com/.well-known/acme-challenge/.
To resolve the issue, make it is possible to download the token file via the above URL.
See the related Knowledge Base article for details.
Additional error details:
Invalid response from https://acme-v01.api.letsencrypt.org/acme/authz/_oRgI1kwh53Fr07VRtI-55Zj7NqY75KI5e41PCsQqow.
Detail: Invalid response from http://example.com/.well-known/acme-challenge/uxIoK_7-BjsuBu362yQ_QD5ovykddVeyKEgfEAre9P8: "\
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable
PLESK_ERROR: Invalid response from https://acme-v01.api.letsencrypt.org/acme/authz/1YlUBtqQj2_y-a27jw543sFO0SaxHxlbw_XmASO2jwI.
PLESK_ERROR: The authorization token is not available at http://example.com/page1/WZHzw8e9HGAqMz-Kvu76RvNc9OiqiXZ-ee1AjTGrjkM.
The token file 'D:\domains\example.com\httpdocs\\page1\WZHzw8e9HGAqMz-Kvu76RvNc9OiqiXZ-ee1AjTGrjkM' is either unreadable or does not have the read permission.
To resolve the issue, correct the permissions on the token file to make it is possible to download it via the above URL.
A test .txt file created in the
example.com\httpdocs\.well-known\acme-challenge\folder (where Let's Encrypt stores its temporary files) is not accessible in a browser at http://example.com/.well-known/acme-challenge/test.txt showing 403/404 error or:
PLESK_INFO: The page cannot be displayed because an internal server error has occurred.
A Let's Encrypt authorization token is handled as ASP application due to site code and configuration.
- Log in to Plesk server via RDP
Disable Microsoft ASP support and Microsoft ASP.NET support at Domains > example.com > Hosting Settings.
Make sure a test .txt file created in the
example.com\httpdocs\.well-known\acme-challenge\folder (where Let's Encrypt stores its temporary files) is accessible from the Internet at http://example.com/.well-known/acme-challenge/test.txt.
Install a Let's Encrypt certificate at Domains > example.com > Let's Encrypt.
Enable Microsoft ASP support and Microsoft ASP.NET support back.