How To Get Your Own SSL Certificate For Your Website & Install It

In the past few years, the entire web hastransitioned from an optional secure HTTP protocol (also known as HTTPS) to ascenario where you can’t have a website today without securing it with an SSLcertificate.

This is because google starting displaying awarning message in its Chrome browser whenever a user would visit a website URLthat started with HTTP rather than HTTPS.

To make sure your website is up to websecurity standards, you’ll want to purchase an SSL certificate and install iton your website.

Determine Your Dedicated IP Address

For an SSL certificate to work, your webserver needs to have a fixed, dedicated IP address. If you have a dedicated webserver, you can usually find this IP address listed in your web hostingaccount.

If you don’t see it there, you can also findthe server IP address in the left pane of the cPanel tool.

Make a note of this IP address, since you’llneed it in the next step when you obtain your new SSL certificate.

Install Your Web Host’s SSLCertificate

The next step is to obtain an SSL certificatefor your website.

Since all websites on the internet these daysneed to use SSL if you want to make sure your users trust your website, manyweb hosting providers have started packaging free SSL certificates with hostingpackages.

If this is the case for you, look through thecPanel menu and look for a tool icon that matches the brand of a known SSLcertificate provider.

For example, the web host Siteground offerscustomers a free subscription to Let’s Encrypt SSL certificates.

If this is the case, you’re in luck.Installing SSL on your site is as easy as clicking on the SSL tool icon,selecting the domain you want to protect, and enabling SSL for that site.

Once it’s installed, your website will haveSSL installed and will start displaying to visitors as a secure website.

If you don’t see an SSL tool available incPanel, contact your web host just to confirm that they really don’t offer SSLcertificates.

If they don’t then you’ll need to purchase oneyourself and install it manually using the steps below.

Purchase a New SSL Certificate

You’ll need to find a good SSL certificateprovider. The cost of this service is relatively cheap, ranging anywhere from$30 to $100 a year.

Some of the top SSL certificate providers inthe world today include:

  • Let’s Encrypt : Free, but requires you to frequently re-upload the certificate to renew it.
  • Comodo SSL : Expensive, but offers a long list of extra features.
  • Digicert : Inexpensive basic SSL to a pro version for large websites.
  • GoDaddy : Well known for their web domain services, GoDaddy also sells website certificates.
  • Network Solutions : Provides affordable basic SSL certificates for small sites as well as more expensive options for larger organizations.
  • RapidSSL : This service is run by Symantec and offers some of the most affordable SSL options around.

To purchase the SSL certificate, you’ll needthe name of your domain, and the dedicated IP address of the web server thatyou noted above.

Once purchased, you’ll receive three pieces ofinformation.

A Certificate (CRT), which verifies yoursecure website’s authenticity from the certificate provider’s servers. APrivate Key (KEY), which serves as the “key” that’s used to decrypt and encryptyour certificate details when visitors visit your site. The key encryptscommunication between the visitor’s web browser and your web server.

The CA Bundle is the third piece ofinformation which bundles all of the intermediate certificates that make theoverall encrypted SSL certification work.

Once you have these three pieces ofinformation from your SSL provider, you’re ready to install the SSL certificateon your site.

How to Install an SSL Certificate

Log into your web hosting account and open thecPanel. Under Security, select the SSL/TLS Manager.

In the SSL/TLS Manager window, select the Manage SSL sites link at the bottom.

In the Manage SSL Hosts window, scroll to thebottom where you’ll find Install an SSLwebsite. Use the dropdown in this section to choose the host you want toapply the SSL certificate to. Then, in each field for Certificate, Private Key,and Certificate Authority Bundle (CA Bundle), fill in the long text entries youreceived when you initially purchased the SSL certificate.

Select the Install Certificate button at the bottom when you’re done.

Now your SSL certificate is installed for thatdomain, and will work whenever visitors type in your domain with the https in front of it.

Force Site Visitors to Use SSL

At this point, any visitors who’ve alreadyvisited your site will still use the old bookmark that has http in front of the domain. These visitors will still see thesecurity warning in Chrome that your website is unsafe.

This could cause you to lose a lot ofvisitors, since they won’t trust your website anymore and will stop visiting.

You can fix this by forcing the browser of allof your visitors to modify the URL so that httpsis always in the front.

In cPanel, in the Files section, double click the File Manager to open it. Navigate to the root level directory ofyour web directory. This is where you’ll find the .htaccess file. Right-click the file and choose Edit from the dropdown menu.

.htaccess is the file that controls web serverbehavior when people visit your site. You need to add special code in this fileto force your visitor’s browser to use https instead of http.

Edit mode will open the .htaccess file in thedefault editor on your local computer.

At the top of the file, insert the followingcode:

When you close the file, it’ll ask if you wantto save. Confirm the save. Now your new .htaccess file is active and users willbe forced to access your site via HTTPS.

Open a browser and type in the domain of yourwebsite.

If the SSL certificate is working correctly,in Chrome you’ll see a lock icon which means that the site is loading viaencrypted HTTPS protocol.

Other SSL Considerations

Even though your website is working properly,there are some features that will break once you switch over to SSL.

One of those is if you’re using a CDN serviceto serve your images from different servers around the world. Large websitesutilize CDN service to speed up image load times regardless where visitors arelocated around the world.

Since your CDN is still serving images viaHTTP protocol, when visitors access your site via HTTPS, all of those imageswill appear broken.

To fix this, you’ll need to log into your CDNaccount, access SSL settings, and add a new SSL entry. You can paste the samecertificate, key, and CA bundle in those fields.

Once you save this entry, all images on yoursite will load via HTTPS protocol and load properly for all of your visitors.

There are a lot of benefits to upgrading yourwebsite to use SSL certificates. Most importantly, it ensures communicationbetween your visitor’s computer and your website are encrypted and protectedfrom hackers.

In addition, it brings your website up to thelatest web standards and ensures that no one will see any security errorswhenever they visit your site.