Secure your Website

What is SSL?

SSL stands for Secure Socket Layer. SSL creates an encrypted layer of data transmission between two systems. Whether it is server to server communication or server to browser communication, SSL allows encrypted data transmission and prevents its access to an outsider. For creating an SSL connection, a server needs an SSL certificate.

padlockHTTPS

How SSL makes your website secure?

The encryption of the transmitted data makes sure that all information remains private. Hackers cannot interpret and steal the personal information such as Credit Card Numbers, etc. transmitted under the secure layer. If a website is SSL secure, a padlock icon appears in the address bar before the web address.

If the data is transmitted without encryption, hackers can steal the personal information such as Login ID, Credit Car Numbers, Email Addresses, Mailing Addresses, Passwords, etc.

Reputed websites have SSL encryption enabled on their site to protect their own business, customers, and clients. If a site is not SSL encrypted but tries to fake it, the user will see a warning that the ‘website might not be safe to visit.’

SSL Encryptions: How do they work?

  • A browser tries to make a secure connection with an SSL secured website after obtaining its IP Address from a DNS server. The web address of an SSL secure site begins with ‘HTTPS’ instead of ‘HTTP.’
  • The browser initiates a request for the SSL certificate copy of the server.
  • After receiving the copy of the SSL certificate, it ensures that the certificate is not expired, matches the domain name, confirms security standards, such as key length, etc., ensures that it is signed by a trusted CA(Certificate Authority).
  • Once the SSL certificate seems trustable, the browser creates a symmetric session key.
  • It encrypts the session key with the public key of the website’s SSL certificate.
  • The server decrypts the symmetric session key sent by the browser.
  • Server acknowledges the encryption.
  • All communication between the web server and the concerned browser is now encrypted.

Netscape developed SSL Protocol in the 1990s. There were various flaws in the Protocol and its implementation that made it vulnerable. To deal with such issues, TLS Protocol was developed.

What is TLS?

TLS has evolved from SSL, and it is backward compatible with it. They are commonly referred as SSL/TSL.

SSL/TSL is the most widely used security protocol today. It comprises of two layers, TLS Record Protocol and TLS Handshake Protocol.

TLS Handshake Protocol sets the rules for the negotiation of the cryptographic systems for communication. It decides how a server and a browser will establish a connection. It also administers the exchange of public and session keys for transmission of the encrypted data.

TLS Record Protocol sets the rules for exchange of data through SSL. It defines the rules of encryption and decryption of the transmitted data.

The whole process of verification of security certificates remains invisible to the user and completed very quickly. After the server gets authenticated, a padlock icon appears in the address bar, and the URL changes from HTTP to HTTPS.

Difference between HTTP and HTTPS

HTTP stands for ‘Hyper Text Transfer Protocol,’ and HTTPS stands for ‘Hyper Text Transfer Protocol Secure.’ HyperText is enriched Text, a text that contains links, formats, and other elements. The transfer of HyperText through various channels across the network needs a particular set of rules or protocol.

HTTP defines the rules for transfer of data between the browser and the server. When a security protocol is implemented with the HTTP, it becomes HTTPS.

Online Banking, E-commerce websites, Payment Gateways and many other websites that need to handle sensitive information use HTTPS for encryption. HTTPS is necessary to safeguard the interests of the customers and businesses. HTTP, on the other hand, is used for data transmission between the browser and the server without encryption.

To have an HTTPS Domain name, you need an SSL certificate from a CA(Certificate Authority). You can use Let’s Encrypt to get an SSL certificate and make your website secure for free.

Let’s Encrypt

Let’s Encrypt is a CA(Certificate Authority) that gives free certificates for TLS encryption through an automated procedure. Many companies like Google, Automattic, Mozilla have come together to support Let’s Encrypt to increase an overall security level on the Internet. ISRG(Internet Security Research Group) maintains it. Its Automatic Certificate Management Environment(ACME) allows you to install a certificate with just a few commands.

Let'sEncryptSponsors

Let’s Encrypt On WordPress

You can get an SSL certificate from Let’s Encrypt for your WordPress website in many different ways. It is advisable to make your website secure with an SSL certificate, especially when it is free now. Besides improving your website’s security, it also helps to build trust among your readers, customers and clients. It can also have a positive impact on your search engine ranking.

Easy Integration with Hosting Services

Hosting services such as Bluehost, Dreamhost, Godaddy, Siteground, WPengine and many other services let their customers create an SSL certificate with Let’s Encrypt on their CPanel.

Steps to create a free SSL certificate using Let’s Encrypt on supported Hosts

Step 1. Login to your website’s cPanel.

cPanel

Step 2. Go to the Security Option

How to install a free SSL Certificate on WordPress using Let's Encrypt? 19

Step 3. Find the Let’s Encrypt option or Secure Hosting option and click it.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 20

Step 4. Select your Domain Name and fill other options such as email address if asked.

SelectDomain

Step 5. Click Install or Add Now option.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 21

Step 6. Save the certificate after it gets created. We will need it later to load it.

If your web host does not offer a Let’s Encrypt option on the cPanel, you can contact them, and they will guide you through the process. It is more complicated than the steps above and can vary greatly among different hosting services.

ZeroSSL

ZeroSSL

If your web host does not offer an easy option to create an SSL certificate or you just want another alternative method to create your free SSL certificate, you can use a free online service called ZeroSSL. This service is not recommended as you will have to recreate your certificate every 60 days.

WordPress Plugins

There are a few WordPress Plugins, such as WP Encrypt, that allow you to create an SSL certificate with Let’s Encrypt. However, none of them appear to be actively supported, and it is preferable not to use plugins that can act as the potential cracks for your website.

Configuring your website to make the SSL certificate functional
After creating an SSL certificate for your domain, you need to configure your website and load the certificate to make it functional.

Step 1. Open the cPanel of your website.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 22

Step 2. Open File Manager or FTP.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 23

Step 3. Copy and Paste the certificate files in the public_html folder of your website.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 24

Step 4. Close FTP and come back to the cPanel Dashboard.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 25

Step 5. Search for SSL.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 26

Step 6. Click ‘Install and Manage SSL for your site (HTTPS).’

How to install a free SSL Certificate on WordPress using Let's Encrypt? 27

Step 7. Copy the code from cert.pem, private.pem, and chain.pem.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 28

Step 8. Paste the code into the respective boxes for each one of them.

After saving, your encryption certificate should be active on your website.
This whole process should take ten to fifteen minutes.

Update WordPress URL To HTTPS
After securing your website with an SSL certificate, you need to change your URL from an HTTP one to an HTTPS URL. Without changing the URL, the SSL certificate won’t work, and your website won’t enjoy any extra security.

Step 1. Go to your website’s Dashboard.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 29

Step 2. Hover to ‘Settings’ and click on ‘General.’

How to install a free SSL Certificate on WordPress using Let's Encrypt? 30

Step 3. Change the WordPress Address and the Site Address and use ‘HTTPS’ instead of ‘HTTP’ in the beginning.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 31

Step 4. Click ‘Save.’

How to install a free SSL Certificate on WordPress using Let's Encrypt? 32

After completing the above steps, your website has become an HTTPS website with an SSL certificate installed on it.
If you have a new website, then the process is complete, but if you already own a website that has many pages indexed on Google, then it will create some issues.

Some of your website pages will load using HTTP protocol, and other will load with HTTPS.
It can be very counterproductive for your search engine rankings. Also, many backlinks that use ‘HTTP’ before the address of your page, will no longer work.

Fortunately, there are a few plugins like ‘SSL Insecure Content Fixer‘ and ‘Really Simple SSL‘. These plugins detect your website’s SSL state and configure it run over HTTPS. All HTTP references will be turned into HTTPS ones, and you will not lose any traffic.
It is important that you back up your website before you use these plugins or any plugins in general. You should get in the habit of taking backups of your website if you avoid it. Backups are extremely crucial for your website’s security.

Once, you update your website URL to HTTPS, you need to update your settings on Google Analytics too if you use it for traffic analysis of your website.

How to Update Analytics Settings for HTTPS?

Step 1. Login to your Analytics Account.

GoogleAnalyticsAdmin

Step 2. Go to Admin.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 33

Step 3. Open your website settings by clicking property settings under your domain name.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 34

Step 4. Click on Default URL. Select HTTPS from the drop down menu.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 35

Step 5. Click Save.

How to install a free SSL Certificate on WordPress using Let's Encrypt? 36

Now, you will receive correct reports of your SSL secured, HTTPS website on Google Analytics.

To Sum Up

Installing an SSL certificate can look a little daunting in the beginning, but it is not that difficult to make your website secure with an SSL certificate. You must enhance your website’s security with SSL, especially because you can install it for free using Let’s Encrypt. It can save you from a large number of hacking attacks and keep sensitive information protected. Besides enhancing your website’s security, an SSL certificate also builds trust for your site and improves your site value for search engines.

Besides SSL encryption, don’t forget to keep your website fully updated, protect your login id and password and taking regular backups.

Installing a Let’s Encrypt generated SSL certificate on your WordPress website is very easy with the hosts that have Let’s Encrypt add-on on their cPanel. You only need to load the generated certificate on your website, update a few settings and your site’s security gets enhanced.

Don’t forget to share this post with your friends who are currently using WordPress for their blogs and websites. It would certainly help them to keep their website secure and safe from any unauthorized intrusion.