I'd like to configure a static website with the following set up.
- DNS : Cloudflare
- CDN : Netlify
For a number of reason I would prefer to keep the DNS on Cloudflare, while using the Netlify CDN, which is working surprisingly well for me.
In order to do this, I set a CNAME entry on Cloudflare's DNS pointing to the Netlify sitename.netlify.com (Cloudflare supports Flatten CNAME at root) and deactivated the CDN in the Cloudfare DNS Control Panel (with the Grey cloud instead of the Orange cloud).
While working perfectly with an unsecured connection, I immediately experienced problems with the HTTPS. When trying to browse https://myparticulardomain.example I get an
ERROR 3019: HTTPS CERTIFICATE COULD NOT BE VALIDATED
I am trying to follow the procedure on Cloudflare where I generate an Origin TSL Certificate and then try to set up a custom SSL certificate on Netlify.
From Netlify Docs:
To install a certificate, you’ll need:
-the certificate itself, in X.509 PEM format (usually a .crt file)
-the private key you used to request the certificate
-a chain of intermediary certificates from your Certificate Authority (CA)
The first two items are fine, I am not sure what is the 3rd one and where to find it on Cloudflare's dashboard. Am I following the right path?
