SSL setting using Cloudflare

Recently I started a new website on WordPress and also added cloudflare on this website. Now i want to add ssl certificate on this website using Cloudflare. Please suggest me the steps, how can I add cloudflare https on my website.


you are looking for which one

cloudflare full ssl
cloudflare flexible ssl

1 Like

Cloudflare flexible ssl.

1st thing is with flexible ssl … do not install ssl on server

Step 1: Configuring CF Under Crypto tab

Enable Flexible SSL

Redirect all http request to https

Fix Mixed Content Issue

Now CF is configured … but will cause infinte loop on WP dashboard

Step 2 Add below code in wp-config.php just before this line /* That's all, stop editing! Happy blogging. */
This will stop infinite loop on dashboard.

 define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain 
// a comma-separated list e.g. http,https
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)

Did all the things, but it’s not working. Chrome showing ERR_SSL_VERSION_OR_CIPHER_MISMATCH this error. @GulshanKumar please help.

Can you please check one thing?

Steps to check

  • Go to Cloudflare
  • Crypto menu
  • Is your SSL active?
1 Like

Yes, it is active


Which Cloudflare SSL mode are you using?

  • Off
  • Flexible
  • Full
  • Full Strict

0 voters

1 Like

It’s working now. Thanks you.

You’re welcome!

the Universal SSL was disabled.

Why you did? :thinking:

I think, it was done by mistanekly.

1 Like

sir maine apne blog par free cloudflare ssl iss post ko read karne ke baad lagaya hai. to kya isme bataye gaye ye dono plugin install karne ki jarurat nahi hai ssl ke liye?

I think, it’s correct. Is your loading fine right now?

yes sir… aap thoda review kar lijiye meri site ko aur bataye ki kya improvement karne ki jarurat hai.

I checked every possible thing, looks fine to me.

Bhai kya abhi bhi aapka ssl theek kam kar raha hai ?
maine abhi tak har jagah padha hai ki 2 plugin lgane pdte hain.
Gulshan sir ka tarika ekdm alag hai. aap btao kya abhi bhi sb sahi chl rha hai ?

Because they find plugins a easy way to get this done. Follow Gulshan method and you will never have issues.

Thanks for suggestion. Bro, Have you also applied this method on your blog ?