Home Website Tutorials How to install SSL on CloudFlare

How to install SSL on CloudFlare

by Thạch Phạm

Install SSL for websites on CloudFlare with 4 simple steps.

What is an SSL certificate?

An SSL (Secure Sockets Layer) certificate is a standard security technology for establishing links between a web server and a browser. This link ensures that the transmitted data is not tampered with or altered during transmission.

SSL helps ensure 2 main tasks:

  • Two-way authentication includes the transmitting object, also known as the server and the receiving object of the client, to avoid cases of counterfeiting of brands or hackers.
  • The encryption task helps secure the information at the highest level so that only the sender and receiver can read it.

Actual benefits that SSL brings:

  • Security of user information.
  • Provide authentication (domain, organization or individual, anti-spoofing)
  • Google appreciates when the website uses SSL.
  • Create trust for users.

Install SSL on CloudFlare

On Cloudflare, there will be 3 types of SSL certificates, these 3 types all support traffic encryption, helping the website be better evaluated by Google. To use SSL, you need to ensure that your website has CloudFlare Proxy enabled.

Different types of SSL will have different levels of usage and security.

ssl cloudflare
  • Flexible SSL: Most websites use this certificate because it is very easy to set up. Users will not need to install anything on the server when using this type, but SSL (HTTPS) will automatically be enabled. However, the traffic exchanged between the web server and Cloudflare will not be encrypted.
  • Full SSL : This type of CloudFlare will support visitors to the website via HTTPS protocol and the data from CloudFlare sent to the server containing the website will be encrypted. However, you must have an SSL certificate, but CloudFlare will not validate this certificate to use a self-signed certificate or create a CloudFlare certificate.
  • Full SSL (Strick): Same as Full SSL, but CloudFlare will validate this certificate, your certificate must buy or use Let’s Encrypt. Your account must be a Pro account to use a private certificate on CloudFlare.

Using Flexible SSL

First, you need to ensure that your website has successfully been added to CloudFlare and enabled Proxy (yellow cloud).

Next, you access SSL/TLS => Overview => select Flexible.

Flexible SSL

Install CloudFlare’s Full SSL

AZDIGI recommends using this method so that the data you send to CloudFlare or from CloudFlare is encrypted more securely. Now I will guide you to use the certificate provided by CloudFlare itself.

Step 1: Choose SSL type

You access SSL/TLS => Overview => select Full or Full (strict).

Full SSL

Step 2: Create an SSL certificate

Go to SSL/TLS => Origin Server => Create Certificate

Create Certificate

Select Generate private key and CSR with Cloudflare, click Create.

Create Certificate
Create Certificate

CloudFlare will provide you with an Origin Certificate and Private Key. Please copy and save the contents of these two files (essential). After saving, click OK.

Origin Certificate and Private Key

Then you need to wait a few minutes for CloudFlare to approve the certificate. If displayed as shown below, the certificate has been issued and can be used.


Step 3: Install the certificate on the server

I will do it with Host/VPS using cPanel, with other controls, you also go to the SSL configuration section and do the same.

At cPanel, go to SSL/TLS section.


Next, select Manage SSL sites

Manage SSL sites

Next, in the Install an SSL Website section, select the website to install and fill in the Origin Certificate, Private Key ( in Step 2: Create an SSL certificate). You can refer to the installation in the video below:

With the Certificate Authority Bundle (CABUNDLE) or CA root, you can use the Autofill by Certificate feature to scan based on the Certificate automatically. Or you can use the content below or refer here.


Step 4: Check the certificate

Method 1: Check the certificate directly by visiting the website => click on the padlock.

Check the certificate

Method 2: Check the certificate through the SSL Shopper tool

You access SSL Shopper by following the link: https://www.sslshopper.com/ssl-checker.html, enter your website and click Check SSL.

Check the certificate

Above is a detailed tutorial on how to install SSL on CloudFlare. Hopefully, with this article, you will better understand what SSL is and how to install SSL on CloudFlare for your website easily. SSL will bring many benefits to the website, one of which is notable for its security and is highly appreciated by Google, which helps a lot for your SEO. Goodbye and see you in the next tutorials.!

If you need assistance, you can contact support in the ways below:

Đánh giá

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign