title: Cloudflare DNS + Netlify CDN // HTTPS not working
body: <p>I'd like to configure a static website with the following set up.</p>
  <ul>
  <li><strong>DNS</strong> : Cloudflare</li>
  <li><strong>CDN</strong> : Netlify</li>
  </ul>
  <p>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.</p>
  <p>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).</p>
  <p>While working perfectly with an unsecured connection, I immediately experienced problems with the HTTPS. When trying to browse <code>https://myparticulardomain.example</code> I get an</p>
  <blockquote>
  <p>ERROR 3019: HTTPS CERTIFICATE COULD NOT BE VALIDATED</p>
  </blockquote>
  <p>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.</p>
  <p>From Netlify Docs:</p>
  <blockquote>
  <p>To install a certificate, you’ll need:</p>
  <p>-the certificate itself, in X.509 PEM format (usually a .crt file)</p>
  <p>-the private key you used to request the certificate</p>
  <p><strong>-a chain of intermediary certificates from your Certificate Authority (CA)</strong></p>
  </blockquote>
  <p>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?</p>