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
- Change the SSL configuration on Cloudflare to "Full" as recommended on this CloudFlare guide, or contact the Cloudflare Support team for further investigation about the source of this error.
Comments
2 comments
Hello,
I'm facing the same issue, can we have some details about how to solve this misconfiguration from cloudflare side?
I did activate the following SSL certificate for my domain on my plesk:
https://kb.virtubox.net/fr/knowledgebase/installer-certificat-ssl-cloudflare-origin-plesk-onyx/
I setup cloudflare crypto tab as full strict.
and I have this 526 SSL certificate error.
Any idea?
Hello @Jerome Nameche,
If all symptoms are the same as in this article, then the issue on the CloudFlare side and it is required to contact their support in order to resolve the issue
Please sign in to leave a comment.