- Plesk for Windows
- While requesting Let's Encrypt certificate with Plesk on Windows server, the following error occurs:
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: "\
404 Not Found
The requested document was not found on this "
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.
Text file placed to
%plesk_vhosts%\example.com\httpdocs\.well-known\acme-challenge\folder cannot be obtained using the browser due to 404 or 403 error, or even:
CONFIG_TEXT: The page cannot be displayed because an internal server error has occurred.
Let's Encrypt authorization token is handled as ASP application due to site code and configuration.
There are two ways:
1. Rename web.config file in
2. Disable ASP and ASP.NET support in Plesk > Domains > example.com > Hosting Settings .
3. Obtain certificate Plesk > Domains > example.com > Let's Encrypt > Install .
4. Revert changes back.
Add entries to
%plesk_vhosts%\example.com\httpdocs\.well-known\acme-challenge\web.config file to look like this:
PLESK_INFO: <?xml version="1.0" encoding="UTF-8"?>
<mimeMap fileExtension="*" mimeType="text/plain" />
<add name="StaticFile" path="*" verb="GET" modules="StaticFileModule" resourceType="Either" />
[HUB] Let's Encrypt
Unable to renew Let's Encrypt certificate: The token file is either unreadable or does not have the read permission
A Let's Encrypt certificate cannot be installed: The token file is either unreadable or does not have the read permission