- Plesk Obsidian for Windows
- The Plesk of 18.0.26 version or newer is installed on the server.
- Unable to issue a Let’s Encrypt certificate in Domains > example.com > SSl/TLS Certificates > Get it free, the process fails with the following error:
CONFIG_TEXT: Could not access the following file or directory: 'C:\Program Files (x86)\Plesk\var\acme-challenge/web.config'.
Please make sure that the domain's system user has read and write access to this file or directory.
CONFIG_TEXT: The authorization token is not available at http://example.com/.well-known/acme-challenge/qgU4e7ba4V7Tk69t4hYIYm09LJHktMaJIhPIngrOYFM.
To resolve the issue, make sure that the token file can be downloaded via the above URL.
The misconfiguration of the Common Challenge Directory.
Log into the server via RDP.
Go to Start > Windows System > Administrative Tools > Internet Information Services (IIS) Manager > ServerName > Sites.
Find and remove the
acme-challengesite if it exists:
acme-challengesite by executing the command:
C:\> plesk sbin websrvmng --add-acme-challenge-site
- Run the command below to set the correct permissions for the Common Challenge Directory:
C:\> plesk repair --directory-permissions -directory "%plesk_dir%var"