- Plesk for Windows
- Unable to renew Let's Encrypt with the following error:
PLESK_ERROR: The authorization token is not available at http://example.com/.well-known/acme-challenge/XXXXXXXXXXXXXXX. The token file 'C:\inetpub\vhosts\example.com\httpdocs\\.well-known\acme-challenge\XXXXXXXXXXXXXXX' is either unreadable or does not have the read permission.
- Authentication with the password is enabled on the domain.
The Let's encrypt token file is not reachable due to the enabled authentication for the domain.
In order to install/renew the Let's Encrypt certificate the domain should be globally reachable and accessible over HTTPS.
Connect to the server using RDP.
Disable authentication on the domain for renew period:
Connect to the server via RDP
Click Start and open IIS Manager:
Navigate to IIS > Server name > Sites > example.com > Authentication
- Disable all kinds of the authentication:
Make the folder
%plesk_vhosts%example.com\httpdocs\.well-known\ available without authentication using the above instruction but in the step 2 navigate to IIS > Server name > Sites > example.com > .well-known > Authentication.
Also, the directories within
httpdocs folder can be protected as the Password-protected directory in Plesk. Refer to the following article for details: How to set up password-protected directory.