- Plesk Onyx for Windows
LetsEncrypt SSL certificate installation failed with the following error:
Failed letsencrypt execution: Saving debug log to C:\Program Files (x86)\Parallels\Plesk\var\modules\letsencrypt\logs\letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for example.com
Starting new HTTPS connection (1): 127.0.0.1
Waiting for verification...
Cleaning up challenges
An unexpected error occurred:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 277-281: ordinal not in range(128)
Please see the logfiles in C:\Program Files (x86)\Parallels\Plesk\var\modules\letsencrypt\logs for more details.
LetsEncrypt log file contains the following string:
Invalid response from http://example.com/.well-known/acme-challenge/C_4vziENw5Bsf93hUvgUlyzx85FuHQt_4ePAXf0thjo
Site code redirects requests from LetsEncrypt to a custom page.
Make sure that there is no rewrite rule in web.config.
Try to rename domain's index page and receive a certificate.
If the issue persists, please contact website developer in order to allow access to LetsEncrypt temporary files stored in .well-known directory.