ONE NET WIKI Free and professional IT Wiki

How to setup CloudFlare free SSL certificate for your website?

2019-02-06 ONE NET WIKI


CloudFlare can provides a free SSL certificate for your website. Follow the instructions as follows:

1. Add you website into your CloudFlare account.

2. Choose the menu "Crypto", select "Flexible" under SSL section and turn on "Always Use HTTPS".

3. If you have more complex url settings, choose the menu "Page Rules" to create your own rules.

Now you have done the settings on the CloudFlare side. If the https is not working well on your website, you should check your web application and set up all secure links for your current links.

For example, in a Laravel Application, you can set up all links to be https-based by add the following codes in App\Providers\AppServiceProvider:

public function boot()
    if (env('APP_ENV') === 'production') {

Editor's Note: All the articles in this website are original. If reproduced, please indicate the source and link.
All Comments (0)
Expand to publish a comment

Web Development

Web Management

Web Marketing

Web Security