Lets Encrypt – authorization token is not available – Plesk

Are you getting the following error while installing Let’s Encrypt SSL.

Error: Could not issue a Let's Encrypt SSL/TLS certificate for readcentral.com.

The authorization token is not available at http://example.com/.well-known/acme-challenge/tDSqJOxLTwFPKSPhTHAtkFYdAdZdUlTfh0OR0BGTACY.
To resolve the issue, make sure that the token file can be downloaded via the above URL.
See the related Knowledge Base article for details.
Details
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/9832347730.
Details:
Type: urn:ietf:params:acme:error:unauthorized
Status: 403
Detail: Invalid response from http://example.com/.well-known/acme-challenge/tDSqJOxLTwFPKSPhTHAtkFYdAdZdUlTfh0OR0BGTACY [143.95.78.176]: "<HTML>\r\n<HEAD>\r\n<TITLE>500 Internal Server Error</TITLE>\r\n<BASE href=\"/error_docs/\"><!--[if lte IE 6]></BASE><![endif]-->\r\n</HEA"

The solution is as follows

Disable custom rewrite  rules in web.config, if there are any.

The website should be working after removing custom rewrite. If you don’t know how to remove custom rewrite. Upload a index.html file to root and make it default document for a while.

Make sure \.well-known\acme-challenge\ is created and has read and write permission. upload a test.txt to check if and  make sure it is accessible from the Internet over HTTP without www prefix. If the file is not accessible, check website’s configuration. http://example.com/.well-known/acme-challenge/test.txt

If all is working well and you still getting the above error. Delete the \.well-known\acme-challenge\ and try again.

Leave a Reply

Your email address will not be published. Required fields are marked *