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)
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.
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”:
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:
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:
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 will take you to the “CA Root Certificate” window to apply the certificate.
You paste it and click “Save” ā simple as that!
Your SSL certificate at this point should be installed properly.
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.