šŸŽƒšŸŽƒšŸŽƒ October Fright Fest: 30% OFF VPS Hosting for First 3 Months with Code HALLOWSEVE (Oct 1st - 31st)! Grab It Before It Vanishes! šŸŽƒšŸŽƒšŸŽƒ

KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

Installing an SSL Certificate

Before you can install your SSL certificate after purchase you need to generate a Certificate Signing Request (CSR) and send it to your SSL vendor. If you purchased your SSL from KnownHost the CSR can be entered at my KnownHost panel. If you purchased your SSL certificate somewhere else you’ll enter it on the website where you purchased the certificate.

These certificates can be installed via three methods. (Click to Expand)

Installing via Token (Shared/Reseller)

All SSLs purchased through KnownHost come with a token. This token can be used for easy installation only on ourĀ shared hostingĀ and reseller hosting packages.

Finding Your Token

You can get your token in one of two ways:

My KnownHost (https://my.knownhost.com)

When you login toĀ my.knownhost.comĀ click on theĀ manageĀ button for the SSL you want to get the token for. Click onĀ Certificate DetailsĀ on the left and you’ll be presented with the token.


Email

The token is emailed to you when you purchase the SSL certificate. Within the email you’ll find a snippet similar to the following:

Token : DD0487376AMTI4MDUx0#!mg7eukwb7yy7dy7zn777

Using The Token

Tokens can be used within the cPanel interface by clicking on theĀ AutoInstall SSLĀ icon.

Enter your token here and clickĀ Verify Token.

Once you enter your token here you’ll be guided through every step of the SSL setup process.



Installing the Certificate in DirectAdmin

You’ll need to login to your DirectAdmin user through the DirectAdmin Panel – or if you’re the Administrator, you can drop in through theĀ adminĀ user. Once at theĀ userĀ level, go to “Account Manager” and click “SSL Certificates”:
This image has an empty alt attribute; its file name is da_csr1.png

This image has an empty alt attribute; its file name is da_csr1-alt.png

Once inside the SSL Certificate area, you’ll see many different choices:

* Let’s Encrypt
* Paste pre-generated
* Certificate Request
* Self Signed

You’ll want to ensure that you have “Paste pre-generated’ box checked as outlined in the following screenshot:
This image has an empty alt attribute; its file name is da_ssl1.png

You’ll see two boxes in this window, the “Key” box and the “Certificate” Box.

The “key” box is for theĀ Private RSA Key

The “certificate” box is for the actual certificate orĀ .crtĀ file

Please see this example:
This image has an empty alt attribute; its file name is da_ssl2-1.png

Once your certificate is entered, click “Save” for it to take effect.

Setting CA Root Certificate

To set the CA Root Certificate, you’ll want to click “CA Root Certificate” within the SSL Certificate area:
This image has an empty alt attribute; its file name is da_ssl3.png

This will take you to the “CA Root Certificate” window to apply the certificate.

You paste it and click “Save” – simple as that!
This image has an empty alt attribute; its file name is da_ssl2.png

Your SSL certificate at this point should be installed properly.

Installing the Certificate from cPanel

This guide assumes that you have already generated the Certificate Signing Request (CSR) and the private key is already stored on the server. If the private key has not been added, you can do so in a below step. In cPanel, click on the icon labeledĀ SSL/TLS.



From this screen, click on the linkĀ Generate, view, upload, or delete SSL certificatesĀ under the “Certificates (CRT)” heading.


Saving the SSL Certificate

Copy & Paste Certificate

You can copy and paste the entire certificate (including the —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– lines: they are important) into the provided text box. If the certificate was pasted correctly, cPanel will show more information regarding the certificate like so:

Domains: yourSSLdomain.tld Issuer: CoolSSLIssuer Key Size: 2,048 bits (c031337 …) Expiration: Feb 13, 2018 9:30:42 AM

You can enter a description with the provided box as well – entering a date and description can help you keep your certificates organized. Once the certificate has been entered (with an optional description) you can click onĀ Save Certificate. If it was successful, you will get a message from cPanel saying the certificate has been saved.
Upload “.crt” Certificate File

If your certificate was provided in theĀ .crtĀ file format (you may need to extract this file from aĀ zipĀ archive) you can choose theĀ Browse… button to select the file from your computer (or other device) and upload it to the server without having to copy and paste the information directly. Once you have selected the file (and entered an optional description) click on theĀ Upload Certificate – if the certificate is in the right format, cPanel will automatically save the certificate for you.

Installing the Certificate

From theĀ SSL/TLSĀ screen in cPanel, click the linkĀ Manage SSL sitesĀ under the “Install and Manage SSL for your site (HTTPS)” heading.

Scroll down to theĀ Install an SSL WebsiteĀ heading, and click the drop-down box under the section calledĀ DomainĀ (with the text “Select a Domain”) and choose the domain that you wish to install an SSL certificate for.

If you installed the certificate according to the steps above (and the private key is already on the server after generating a CSR) you can click on theĀ Browse CertificatesĀ button and select the certificate you just entered and click onĀ Use Certificate – this will fill in the appropriate information for you. If you only have one domain or a single certificate uploaded, you can click onĀ Autofill by DomainĀ and cPanel will automatically select the appropriate certificate, private key, and certificate authority bundle (CA bundle).
If you did not previously upload the private key to the server, you can copy and paste it into the private key field now.

Verify that the information is correct – especially theĀ Domains(s)Ā andĀ Expiration DateĀ fields and click on theĀ Install CertificateĀ button below.

If the SSL certificate was installed correctly, cPanel will give you a confirmation message. Now that you are more familiar with how cPanel’s SSL Manager interface works, you can save some time when installing your next certificate by using theĀ Manage SSL sitesĀ link directly.

Installing from WebHostManager / WHM

SSL certificates can also be installed as the from within WHM as well, though the interface can be somewhat less intuitive than installing via a cPanel account (but it is faster if you already have the certificate, private key, and CA bundle extracted and ready for installation – or if you’re just more comfortable with WHM.)

After aĀ Certificate Signing Request (CSR)Ā has been generated and you have received the certificate, you would navigate toĀ WHM Home → SSL/TLS → Install an SSL Certificate on a DomainĀ (you can type inĀ sslĀ on WHM’s search bar for easy access):



From here, you would type in the domain in theĀ DomainĀ field and copy and paste the certificate, private key and your CA bundle into their respective fields – you should leave theĀ IP AddressĀ field blank (for auto-discover). The certificate can then be installed by clicking on theĀ InstallĀ button at the bottom of the page.