Easiest Ways to Install SSL Certificate on cPanel (Shared Hosting) or Any Other Web Hosting

Easiest Ways to Install SSL Certificate on cPanel (Shared Hosting) or Any Other Web Hosting

SSL Certificate now becomes compulsory for every website and blogs. So I have decided to write a short article for helping all the non-technical guys who don’t have much knowledge about web hosting or SSL Cert.

I’ll try to keep this article as short as possible and as detailed as possible.

What I’m going to share in this article? Here’s the index of the table:


Why We Need SSL Certificate?

Well, it’s little complicated to make you understand as you don’t have much knowledge about SSL and Web Hosting but let me give you a short intro of SSL Certificate and its importance.

When it’s required?

SSL Certificate is required when a website or a web portal collect some sensitive information from their users’ information like their Card Details, Address, Email, etc.

Basically, it required for heavy and E-commerce or Website which collect sensitive information from their users.

SSL Importance for normal users?

Being a normal user means people who don’t have e-commerce sites or no company website. Being a normal user means having content blogs which only have informative articles and images.


How to Install SSL Certificate on cPanel (Shared Hosting)

install ssl certificate on cpanel

There are lots of ways to install SSL Certificate on cPanel (Shared Hosting) doesn’t matter which company shared hosting you’re using.

I’m going to share with you 2 easiest ways to install SSL Certificate on your web hosting, I personally use these two methods to install or enable SSL Cert.

Let’s start with installing SSL Certificate on cPanel via SSLforFree.com. I’ll give you some screenshots as well so you won’t face any issue while installing SSL on your cPanel.

Install SSL Cert. on cPanel via SSLForFree.com

It’s going to be little complicated but doesn’t worry if you don’t get this method so you can use the second method to install SSL Certificate on your web hosting.

[su_tabs vertical=”yes”]

[su_tab title=”Step 1″ disabled=”no” anchor=”” url=”” target=”blank” class=””]

step 1

Open the site SSLForFree.com, before installing SSL Certificates make sure your domain is properly connected to your web hosting.

Now put your domain name (domain.com) in the box and click on the button “Create SSL Certificate


[su_tab title=”Step 2″ disabled=”no” anchor=”” url=”” target=”blank” class=””]

step 2
Manual Verification

Click on the “Manual Verification” and Scroll Down and click on the “Manual Verify Domain

step 2 - 3
Manual Verify Domain

Now the main part starts do everything carefully.

First, you need to download the Download File #1 & Download File #2. Keep these 2 files on standby because in next step you need these 2 files. DO NOT CHANGE THE NAME OF THESE FILES DOWNLOAD THEM AS IT IS.


[su_tab title=”Step 3″ disabled=”no” anchor=”” url=”” target=”blank” class=””]

  • Open your cPanel and go to the File Manager.
  • Now open the domain folder on which you want to install the SSL Certificate.
  • Now Create a folder in your domain named “.well-known” if it does not already exist. If you use Windows you may have to add a dot at the end of the folder name in order to create a folder with a dot at the beginning.
  • Now open the folder “.well-known” and create another folder in that folder named “acme-challenge

Now you need to upload those 2 files which we have downloaded in our previous step.


[su_tab title=”Step 4″ disabled=”no” anchor=”” url=”” target=”blank” class=””]

Go back to SSLForFree.com and click on those 2 link in the 5th step. If those link is working perfectly then Click on the Button “Download SSL Certificate

Your certificate is successfully generated and you can put your Email ID and get notification of SSL Expiration. In the next step, we will upload the SSL Cert. in our cPanel.

step 4
SSL Successfully Created


[su_tab title=”Step 5″ disabled=”no” anchor=”” url=”” target=”blank” class=””]

Go back to your cPanel and look for SSL/TLS you can find it in your Security Section.

  • Open SSL/TLS > click on Manage SSL Site under Install and Manage SSL for your site (HTTPS).
  • Select the domain name.
  • In the “Certificate: (CRT)” box paste the code of “Certificate” from SSLForFree which we have created. Make sure you copy the whole box and don’t edit anything!
  • In the “Private Key (KEY)” box paste the code of “Private Key” from SSLForFree.
  • In the “Certificate Authority Bundle: (CABUNDLE)” box paste the code of “CA Bundle” from SSLForFree.
  • Now hit the “Install Certificate Button

You’re done; Certificate is successfully installed on your cPanel.




The SSL Certificate is installed on your cPanel but your site is still not showing HTTPS. In that case, you need to redirect your http site to https. There is a short .htaccess code which you need to paste into your .htaccess file.

RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://domain.com/$1 [R=301,L]

Paste the above code in your .htaccess file which you can find on your File Manager > Domain Folder. Don’t forget the replace domain.com with your domain name.

If you’re using WordPress then simply install a plugin name Really Simple SSL and activate that plugin.

Enable SSL Certificate on Cloudflare Any Web Hosting


The most important and interesting fact about Cloudflare SSL Certificate is you don’t have to take tension of renewing it and it’s free of cost.

5 years old kids can enable SSL through Cloudflare because it just about one-click. Doesn’t matter which web hosting you’re using, just connect your DNS with cloudflare and enable the SSL Certificate with just one click.

Cloudflare has many benefits like you get more security, fast DNS updates, Speed, SSL Cert. and a lot more. There is no harm in using Cloudflare!

Connect your DNS today with Cloudflare!

How to Connect DNS with Cloudflare?

cloudflare dns
Cloudflare DNS

It’s damn easy just create a new account on Cloudflare and put your site and let them scan your DNS Records. The best part is your site will never go down during the transfer of your DNS to cloudflare.

I personally using cloudflare on my every blog and using their SSL & other features to speed up my blog. It takes only 5-10 min. to step-up the whole cloudflare and sometimes less than that.

Follow the steps to connect your site with cloudflare:

  • Create a new account (If you don’t have an account).
  • Put your site after creating your account and let them scan your DNS Records. It will only take 2 min.
  • After Scanning it will ask you to connect your DNS Record with cloudflare. If you know what you’re doing then you can otherwise just click the continue button and go with the default step up.
  • It will ask you for the cloudflare plan, you can continue with the free plan.
  • Now it will give you the Name Servers (NS) which you need to put on your domain. Just go the domain panel (Where you have registered your domain name). Now open the DNS Setting or Name Server Settings or Domain Settings. Change the NS with the cloudflare NS to connect your DNS with cloudflare.
  • After changing the NS wait for 2 min because it takes time to update Name Servers. After wait for 2 min click on the next button and you’re done.

You have successfully connected your DNS with cloudflare. Now we’ll activate the Cloudflare SSL Certificate, you will get amazed when you see it’s just one-click.

Enable Cloudflare SSL Certificate

cloudflare ssl
Cloudflare SSL

There are 3 types of SSL Setting in Cloudflare but we need to choose Flexible SSL.

Flexible SSL: You cannot configure HTTPS support on your origin, even with a certificate that is not valid for your site. Visitors will be able to access your site over HTTPS, but connections to your origin will be made over HTTP. Note: You may encounter a redirect loop with some origin configurations.

Full SSL: Your origin supports HTTPS, but the certificate installed does not match your domain or is self-signed. Cloudflare will connect to your origin over HTTPS, but will not validate the certificate.

Full SSL (strict): Your origin has a valid certificate (not expired and signed by a trusted CA or Cloudflare Origin CA) installed. Cloudflare will connect over HTTPS and verify the cert on each request.

Follow the steps to enable Flexible SSL on Cloudflare:

  • Click on the Crypto tab from the above menu.
  • Choose the Flexible from the drop-down menu.
  • Wait for 2 min, your SSL Certificate is issuing.
  • Refresh the browser and see if your certificate is Active or Not.

Done you’re Cloudflare SSL Certificate is successfully activated.

Cloudflare SSL Cert. Settings

There are lots of errors you will get after enabling the Cloudflare SSL Cert. because you were in the http before https. That happens with everyone, and there are solutions for it too.

NOTE: It may take up to 24 hours after the site becomes active on Cloudflare for new certificates to issue.

The most common errors are “Connection is not secure or private” & “Mix Content Issue (Green Tab is not showing)” These 2 are the most common error or issue after enabling the Cloudflare SSL Certificate.

How to solve these errors? There are setting in the Crypto Tab if you scroll down a little after activating your SSL Certificate you will see some common and advance settings.

Don’t touch any advance setting it can collapse your website. Just do what I’m going to tell you!

Always Use HTTPS: On this setting it will redirect your HTTP site to HTTPS and you don’t have to install any plugin in your WordPress or add any code in your .htaccess file. Just on this setting and your site will automatically redirect to HTTPS version of your site.

Automatic HTTPS Rewrites: On this setting, it will help you to solve your mix content errors. It will automatically solve those mix content errors.


Final Words

As you know our visitors are getting smarter every day and they know which site to visit or which not. By installing SSL Certificate on your cPanel you can give them a plus point to visit your site.

Google has officially announced that SSL is one of the ranking factors from 2018 and almost everyone is using SSL Cert. on their blogs.

So install SSL Certificate today on your cPanel or you can use cloudflare. I personally recommend cloudflare SSL because it sorts our lots of problems like auto-renewal, auto-redirect, solving lots of errors which usually cause after installing SSL Certificate on cPanel.

If you’re facing any kind of issue during the installation please comment down below I’ll help you out to install SSL Certificate on your web hosting.