PrackHost : Hosting Premium Web LiteSpeed

To install Certificate Let's Encrypt cPanel

How to install a certificate Let's Encrypt in cPanel?

We showed to you in this tutorial how to take the opportunity that gives Internet us Security Research Group to be able to install a certificate Let's Encrypt in your account of cPanel.

We as much remembered that this certificate is gratuitous, the high one to you as his renovation. By an Internet more surely, we begin 🙂

1. Icon of Let's Encrypt in cPanel

We enter our Control Panel of hosting cPanel and looked for the icon to enter the section of Let's Encrypt. For it, once inside we go away to block of security options and looked for the corresponding icon already activated by defect in ours hosting.

Icon of Let's Encrypt in cPanel

2. Emission of the Certificate Let's Encrypt for our domain

Once within the application of Let's Encrypt in cPanel we will puncture in the option to issue the certificate for the domain that we want.

In this listing of possible domains one will also be the parked domains to us (domain alias) for example.

To install Certificate Let's Encrypt cPanel

 

3. Election of the domain and subdomains

The following step will be to choose the domains to which we want to issue the certificate. We will choose our main domain and the option of €œwww€ also, of this form we will be protecting all the domain to the complete one and the certificate will be valid for the domain with www or without them.

The option €œTo install certificate SSL for the servers of mail SMTPS/POP3S/IMAPS€ we will select it if we want that our servant of e-mail goes authenticated.

It is an option that we advised to select.

Election of the domain and subdomains

 

4. Our certificate Let's Encrypt already emitted

The emission of the certificate usually takes about 30 seconds. We will wait for that time and we will not stop the process.

Once emitted, already we will be able to see our Certificate Let's Encrypt in cPanel correctly formed.

Also we will have the options to eliminate the certificate, to reinstate it or to see it in format PEM in detail.

Our certificate Let's Encrypt already emitted

 

5. VERY IMPORTANT: Redirection of HTTP to https

When we installed a certificate, our main Web changes, reason why the contents that we have indexed in the finders it is necessary to maintain them not to lose positions in Google, for example.

This step is very important and if we do not do it we will be penalizing the results that our site has obtained previously.

In order to correct this, we must create some rules in our main file .htaccess (the one that is in the folder public_html or www) to redigir all the contents of the HTTP to new https.

Also he is recommendable that all the traffic that comes us to our domain always enters by the €œwww€ to avoid duplicated content.

For this, we will add to these lines to ours .htaccess after the €œRewriteEngine On€ (if we do not have it we must create it):

5.1 Your domain is indexed with the www

If your domain already is indexed with the www in Google, you must add:

RewriteEngine On
RewriteCond % \ {SERVER_PORT} 80
RewriteRule ^ (. *) $ https://www.tudominio.com/$1 [L, R=301]

5.2 Your domain is not indexed with the www

If on the contrary, already it is indexed without the www in Google:

RewriteEngine On
RewriteCond % \ {SERVER_PORT} 80
RewriteRule ^ (. *) $ https://tudominio.com/$1 [L, R=301]

If you have pointed or parked domains and you form a security certificate to him you will have to also add them. It contacts with support in this case.

If the previous code gives errors you in htaccess, it proves this other:

RewriteEngine On
RewriteCond % \ {HTTPS} in off
RewriteRule ^ (. *) $ https:// \ {REQUEST_URI} [L, R=301]

5,3 Changes in .htaccess

It is necessary to consider 2 things here:

1) If .htaccess we do not have it created, we must create it. From the file manager of cPanel it is possible to be done easily.

2) If we already have it, we must publish it and put the 2 previous lines after the €œRewriteEngine On€. If the line does not exist €œRewriteEngine On€ in ours .htaccess we will also add it as we have shown previously.

The manipulation of this file of erroneous form can bring about errors to us 500 in our account or the deindexation of our Web in Google, reason why it is necessary to publish it with extreme well-taken care of.

5,4 Changes in the panels of Webmaster de Google

Now it would only be to tell him to Google that your site has changed €œhttps€.

If you use Google Search Console (old Google Webmaster) you will have to change to the property and your sitemap so that it accedes with €œhttps€. In addition, you will have to change urls of configuration in the manager of contents that you use to form https. If not it beams, all these changes will not serve don't mention it.

The same if you use Google Analytics, in the configuration of the property to change the domain https.

Another question to consider is that perhaps if you have a footbridge of payment contracted with Redsys does not work when registering the certificate. If it is thus, you will have to contract an additional and exclusive IP (accessories extra from the zone of clients): The certificates with Without (IP shared in the servant) do not work with the footbridges of payment of Redsys.

5,5 Changes in the CMS

  • If your site is a Web developed with WordPress, it follows our tutorial to happen to https WordPress.
  • If it is a Web with Joomla! , you must activate the SSL for all the site from the configuration.
  • If you have a Prestashop, it qualifies the SSL for the store in the option Preferences €“ General €“ To qualify SSL.
  • If you have Moodle, it changes to the URL to https in the file config.php.

6. Verification in the navigator. Emitter Let's Encrypt Authority X1.

If we now visited our Web with €œhttps€ and punctured in the green padlock that there is just before the direction we will be able to see the details of the certificate, issued by Let's Encrypt.

Verification in the navigator. Emitter Let's Encrypt Authority X1

Published in ,
Transformation for PrackHost

PrackHost

Hosting specialized in Joomla! , Wordpress, Prestashop and Moodle. Services of hosting in the cloud. Dedicated servers VPS and.

Categories