Articles in this section

A Plesk hosted website is not accessible: Error 526 Invalid SSL certificate

Plesk for Linux kb: technical ext: le

Applicable to:

  • Plesk for Linux

Symptoms

  • The domain "example.com" hosted in Plesk is not accessible with the following error shown on a web browser:

    PLESK_INFO: Error 526 Invalid SSL certificate

  • While accessing using the URL "www.example.com" instead, the website works correctly.

  • The website "www.example.com" is using Cloudflare, while "example.com" is resolving to Plesk IP address directly:

    # dig +short example.com @8.8.8.8
    203.0.113.2

    # dig +short www.example.com @8.8.8.8
    www.example.com.cdn.cloudflare.com.
    198.51.100.2

  • Unable to issue Let's Encrypt certificate for "example.com":

    PLESK_ERROR: Error: Could not issue a Let's Encrypt SSL/TLS certificate for example.com.
    The authorization token is not available at http://example.com/.well-known/acme-challenge/_sJGmwn5GZYcXm8nqwAMKLBvOpBXLaokwCHjby3MvY4.
    To resolve the issue, make sure that the token file can be downloaded via the above URL.

Cause

There is a Cloudflare misconfiguration.

Resolution

Additional information

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.