Applicable to:
- Plesk for Windows
Symptoms
Let's Encrypt certificate for a particular domain in Plesk can not be renewed automatically with the error message below:
Failed to renew certificate of domain 'example.com': Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/13769068820.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching https://acme-challenge.localhost:443/.well-known/acme-challenge/jhpl_titvpnxqcffch5s9semwhzx1ytmjnhnngeyqek:
Invalid hostname in redirect target, must end in IANA registered TLD
Cause
Module runAllManagedModulesForAllRequests is enabled in the domain's web.config
file.
The lines below exist in %plesk_vhosts%example.com\httpdocs\web.config
:
<modules
runAllManagedModulesForAllRequests=“true”>
...
</modules>
Resolution
-
Go to Domains > example.com > File Manager page.
-
Click on the file named
web.config
to open it for editing. -
Disable the
runAllManagedModulesForAllRequests
module by modifying the lines as below:-
Before:
<modules
runAllManagedModulesForAllRequests=“true”>
...
</modules> -
After:
<modules
runAllManagedModulesForAllRequests=“false”>
...
</modules>
-
-
Press Save button to apply changes.
Comments
1 comment
there is no module in web.config
Please sign in to leave a comment.