Mobile app version of vmapp.org
Login or Join
Karen161

: So is Cloudflare now setting up HTTPS for websites? Hi so I read many websites that say to enable SSL on my drupal site, I need to purchase the certificate, install it on my apache server,

@Karen161

Posted in: #Apache #Cloudflare #Drupal #Https

Hi so I read many websites that say to enable SSL on my drupal site, I need to purchase the certificate, install it on my apache server, install mod_ssl, enable it on httpd.conf, and finally configure Drupal settings.

Now I'm a paid subscriber to Cloudflare. Is it true they can setup my site with https?

What do I have to do with cloudflare to enable https on my drupal website? Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen161

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

Yes cloudflare gives free SSL to all paid and free customers.

The things you need to do is.


Add your CNAME or A records in your cloudflare DNS pannel. So if you're using www subdomain then make sure that www CNAME is added in your Cloudflare DNS pannel. So the traffic from example.com will pass to cloudflare server and then cloudflare sent request to your origin server.
Go to crypto option and set flexible SSL option. We have chosen Flexible SSL because to use Full SSL we need to have SSL certification installed in server side as well. So now if anyone typed www.example.com in addressbar then cloduflare will handle that, since your browser request to cloudflare and not to your origin server(So no need to add install certificate manually in your apache server)
But if user typed www,example.com then your site will serve without SSL and hence we need to redirect user to https website, so to do that, we will use page rules, so first go to page rules seeting and enter URL pattern like http//*.example.com/* and then choose Always HTTPS option and you're done. That URL pattern match any subdomain like sub.example.com and any sub directory level like another.example.com/some/extra/page/

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme