Failed to secure Plesk with Let's Encrypt. The following error occurs in Plesk UI:
PLESK_ERROR: Error: Could not issue a Let's Encrypt SSL/TLS certificate for example.com. Authorization for the domain failed. Invalid response from https://acme-v01.api.letsencrypt.org/acme/authz/JwiJ1oPnjy-8ahXSzgbObDNjn9CrcIjzs87_H_7wEz8. Details:Type: urn:acme:error:unauthorized Status: 403. Detail: Invalid response from http://example.com/.well-known/acme-challenge/BjH29Kw9Ttp5bV1QV2kCFpAsGWEfONGUu4iY3bR_GqM:
example.com website redirects to Plesk login page.
Custom rewrite rules are installed on the server.
Disable all custom rewrite rules and install Let's Encrypt certificate under Tools & Settings > SSL/TLS Certificates
If the issue persists, apply the steps from the following article: Let's encrypt installation fails with 'Challenge marked as invalid' error