Stepic
By:
Stepic

How to setup SSL certificate via Cloudflare on DigitalOcean | Wordpress platform

November 21, 2016 1.4k views
WordPress

Hello guys,

I would like to setup ssl certificate running through cloudflare on my digitialocean droplet.
I'm using it on my wordpress CMS.

Is there any step by step guide for this purpose?

Thank you

5 Answers

Once you set up your site with CloudFlare, it should have CloudFlare SSL Cert running.
You can learn more about how does CloudFlare One-Click SSL works at their site.

In case you want to use your own cert, that requires more work. For that, start with How do I add SSL to my site?.

tnx xMudrill, so I follow CloudFlare One-Click SSL and that should do the job - I don't need to additionally setup something on my droplet at digitalocean hosting?

  • That does depends on option you select. If you go with Flexible SSL on Cloud-Flare, you don't need to setup SSL on server.
    If you go with Full/Full Strict, you need to setup SSL on server.

OK, thank you xMudrll - I'll then just go with Flexible SSL on Cloud-Flare.

Thank's fo advices, and clearing up some doubts.

Cheers!

Hello,

I installed WordPress on my Ubuntu droplet and activated Cloudflare SSL.

Now when I am trying to go to the site, the site is, as usual, redirecting to https version but is returning error 521. How do I rectify this error?

Thanks,
Krishna

Digital Ocean needs to update their network to be compatible with Cloudflare Universal SSL feature.
https://support.cloudflare.com/hc/en-us/articles/222612707

For time being DO clients should use flexible SSL setting. It means data transfer between DO server and CF is not encrypted anymore, but until DO fixes their network... this workaround will do.

Have another answer? Share your knowledge.