Author Topic: SSL with Cloudflare (Please read - don't assume I haven't read other posts).  (Read 584 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,

Relatively new to server management, but have been developing for a few years so it's easier. Anyway, I'm trying to allow SSL on the domains I host on Centos Web panel, I have a premium Cloudflare plan which includes an SSL certificate. It does not provide the actual certificate information, but if I used a different panel such as cPanel, you just type in the HTTPS and it works fine. At the moment, when I'm trying to connect via HTTPS I get this "This site canít provide a secure connection - mydomain sent an invalid response." how can I do it? Please don't suggest lets encrypt, this is not what I paid to use.

Obviously I can't use the tools like 'Install SSL Certificate' because that's not how Cloudflare works, as you are all aware I'm sure.

Any explanations and steps on how to fix this would be appreciated.

Cheers.
« Last Edit: February 15, 2017, 12:16:05 PM by eddiejibson »

Offline
*****
generate CSR (under security) and check the box to create self signed certificate

Offline
*
I assumed you meant SSL? Tried that, didn't work... Do I have to do anything after that? Suggestions appreciated.

Offline
*
If you don't have to use the SSL cert from Cloudflare you can use the Letsencrypt Manager in CWP instead. It will create and install a free SSL cert for you. It's literally 2 clicks if all goes well (1 click to install Letsencrypt Manager & 1 click to create & install a SSL on your domain.

Then set Cloudflare SSL setting to Full (strict) & you should now have fully functional HTTPS for your site.

You'll also need to ensure all URLs (links & images etc) on your secure pages point to a https://... URL too otherwise you won't get that all important green padlock.

 :)


Offline
**
Perhaps it's enough that you use for all images or other urls only // instead of the http:// or https://

Offline
*
better ask at cloudflare

they do all kinds of magic, your site should just run in http mode and not ssl, cloudflare does that for u

https://www.cloudflare.com/ssl/

Flexible SSL
Flexible SSL encrypts traffic from Cloudflare to end users of your website, but not from Cloudflare to your origin server. This is the easiest way to enable HTTPS because it doesnít require installing an SSL certificate on your origin. While not as secure as the other options, Flexible SSL does protect your visitors from a large class of threats including public WiFi snooping and ad injection over HTTP.

so it largely depends on your config there