Plesk

Could not request a Let’s Encrypt SSL/TLS certificate for example.com: website content loading from another server

Symptoms

Cause

The issue is caused by a DNS configuration mismatch, because the DNS A records for example.com on the side of Cloudflare point to an IP address that is different from the Plesk server's IP addresses.

In order for Plesk to issue a Let's Encrypt SSL certificate for a domain, the domain for which this SSL certificate needs to be issued must load its website content from the Plesk server's IP address.

Resolution

  1. Update DNS Records on Cloudflare:

    • Adjust the A record for example.com on the side of Cloudflare to point to the IP address of the Plesk server
    • This will allow the DNS validation for Let's Encrypt to succeed. Note that DNS record changes can take up to 48 hours to propagate globally.
  2. Use Cloudflare's SSL/TLS Options:

    • Since Cloudflare is already being utilized, consider using their SSL/TLS options to secure the site.
    • Cloudflare provides its own SSL certificates, eliminating the need for Let's Encrypt certificates. Refer to Cloudflare's support or external articles for more information on this topic.
  3. Purchase a Third-Party Certificate and install it manually for this domain:

    • Alternatively, consider purchasing a third-party SSL certificate that is valid for a longer period, such as one year.
    • This reduces the frequency of certificate renewals and eliminates the need for DNS validation challenges.

Note: Changing Cloudflare's proxy status for the domain's A records from Proxying to DNS Only during the certificate renewal process is a temporary workaround, but not a recommended long-term solution.

Additional information

How to set up Plesk, mail autodiscover and Cloudflare to work together properly?

What Is Cloudflare And How To Use it With Your Site?

Exit mobile version