Transfer SSL certificate with cPanel/WHM
Posted on February 27th, 2017
In this tutorial we can check how to Transfer SSL certificates with cPanel/WHM.
There are various type of transfers on servers. Sometimes we may need to migrate a website from a server to another server. Sometimes, we may need to transfer all the accounts associated with a re-seller account. There can be also occasions where we will do a whole server to server migration. Have you ever thought about migrating your SSL certificate stored on a server to another server? We can migrate the SSL certificates of your websites from one server to another server. This can be done easily with the cPanel/WHM. In this article, we are going to see how we can migrate SSL certificates from one server to another. Before we transfer, you should be aware of the components involved with SSL certificates and how it is stored. Let’s have a detailed look on it.
There will be a certificate file. It will have the extension (.crt). Also, there will be a key and it will have the extension (.key). There will also be a CA bundle. We need to copy the files to new server in order to migrate the SSL certificate.
Steps to transfer SSL certificate
1) Login to your WHM.
You could access the WHM with https://server.hostname.tld:2087. This will lead you to the home page of WHM interface.
Now locate the ‘SSL/TLS’ section in WHM and go to ‘SSL Storage Manager’ as shown in the figure.
You will be lead to the next page. There you could find the certificates and keys with the username. Please locate the certificate you wish to transfer.
2) Copy the key
Please refer to the attached screen shot for any clarification.
Now you need to copy the key and paste it on a text file. To view the full content, please click on the lens icon near the key. The key will be starting with —–BEGIN RSA PRIVATE KEY—– and will end up with —–END RSA PRIVATE KEY—–.
3) Copy the Certificate
Now you need to copy the certificate. This also can be done from the previous window. Please click on the lens icon next to the certificate so that you would be able to view and copy the certificate.
Please copy and paste the certificate on a text file. The certificate will be starting with —–BEGIN CERTIFICATE—– and ending with —–END CERTIFICATE—–.
Now you need to install the certificate on the new server. You could install it from the WHM interface and the cPanel interface.
4) Install the certificate on new server
To install the certificate from the WHM, please locate “Install an SSL Certificate on a Domain” under the “SSL/TLS”. Please refer to the screenshot below in case of any doubts.
You need to use the certificate and key copied and saved on the text files earlier. You also could install it from the cPanel interface. To see how to install SSL certificate from the cPanel interface, please follow the guide in the link below.
If you need any further assistance please contact our support department.