Skip to main content

Get a FREE SSL Certificate for your website

Absolutely a free SSL certificate for your website

Get a FREE SSL Certificate for your website

To install this, we can use the free online tool. You don't need any coding knowledge. Just follow my instructions step by step.

First go to the free online tool: Zerossl

Click on Online tools

Click on start, Where Free SSL Certificate


Now add your domain name ex: example.com, www.example.com.  you have to enter your domain without "WWW" and with "WWW". Like I showed In Example or as per below image.
Then click next, It will generate CSR Code. It might take 1 minute. Then Download the file
After that, Then click on the "Next" button once again. Now it will generate account key. And click download for backup. Continue click the "Next" button.


After  clicking continue, You will get this page


Now, You get two files. Download those files and you have to paste those files into your server. 

Go to your cPanel. For Myself, I'm using GoDaddy.

Goto WebRoot/Public_html, Now you have to create a folder name ".well-known" Then inside of .well-known folder create another folder name "acme-challenge" Now open this folder and upload that two downloaded files here. The file path would be like this 
 /public_html/.well-known/acme-challenge

if you have other websites in your hosting, Then file path should be like this
/public_html/YourDomain.com/.well-known/acme-challenge

If you did correctly its look like this. Now go back to the site.

Click on that link, it will open correctly means. You have done correctly :) and click on next.

 Click on "Done Next"

That's it. Now you have to update Certificate & Private key to your hosting.


Click on SSL

Click on Manage SSL sites

Select your Domain in the dropdown list

Paste your Certificate and Private key corresponded boxes.
Note: When you are copying your certificate key, Actually it has two keys inside, Remove the last key and paste in the certificate box.

Click on Install Certificate. That's it your SSL Certificate Installation Completed.

Now you can check your website with https://www.yourDomain.com/

You can redirect to HTTPS if someone hit the only yourDomain.com without https. For that, you have to create a .htaccess file in your root folder.  and below code to .htaccess file.
 
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 



Note: This SSL Certificate valid for 90 days. After that you to repeat the same process.

Comments

Popular posts from this blog

Business hours calculation using PHP

Most of ticketing alert projects needed SLA calculation to exclude holidays and weekends or Off business hours. First of all, let us take a look at types of SLA we need to calculate. For instance, few companies will work 24/7 shifts and 8x5, 8x7 etc. So we need to consider business hours. In this example, I'm considering business hours which starts at 09:00 AM and ends at 06:00 PM. Also, using this code we can calculate 24/7 too. Let's consider business hours started at 9:00 AM to 18:00 PM without weekends. Now, take the actual work start period and end period.                                                       Demo <?php $incident_work_started = '2018-09-12 09:28:07'; $incident_work_ended = '2018-09-19 17:45:00'; $totalHours = round(get_working_hours($incident_work_started,$incident_work_ended),2)."\n"; e...

Laravel all artisan commands and uses

Laravel all artisan commands and uses  Laravel commands Have you all know, Laravel run on mostly PHP artisan commands. here I'm going to provide a quick image that show all artisan commands on Laravel.  If do you want to check all Laravel commands, Just run the command on your CMD php artisan You will get all the commands 

Select 2 options with live examples

Select2 options Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options. Here I prepared for all set of examples with sample codes, You don't need to read entire document to do this See the Pen Select2 examples from Codesponsors.com by Codesponsors ( @Codesponsors ) on CodePen .