Move SSL certificates from WHM to cPanel

robb3369

Well-Known Member
Mar 1, 2008
122
1
66
cPanel Access Level
Root Administrator
So after spending about 20 minutes trying to install a renewed EV certificate from both WHM and cPanel, and finally getting it installed via WHM. I'm used to only dealing with what used to be 4 files: domain.com.key, domain.com.csr, domain.com.crt and domain.com.cabundle, there are now 7 files floating around in different places (plus all of the older revisions):
Code:
/home/username/ssl/certs/domain_com_e0498_1df09_1408060799_ed147e150ae0ab8ca11c4a34726ebd00.crt
/home/username/ssl/keys/e0498_1df09_52dbb207e589b82646de134a3ef33dd8.key
/var/cpanel/ssl/installed/certs/domain_com_e0498_1df09_1408060799_ed147e150ae0ab8ca11c4a34726ebd00.crt
/var/cpanel/ssl/installed/keys/e0498_1df09_52dbb207e589b82646de134a3ef33dd8.key
/var/cpanel/ssl/system/certs/domain_com_e0498_1df09_1405363572_342ef654e0a813821061aeee28342742.crt
/var/cpanel/ssl/system/csrs/domain_com_e0498_1df09_22c62f643efb455898e4e6daa4cf40c5.csr
/var/cpanel/ssl/system/keys/e0498_1df09_52dbb207e589b82646de134a3ef33dd8.key
According to the httpd.conf, these were the two files used for SSL:
Code:
/var/cpanel/ssl/installed/certs/domain_com_e0498_1df09_1408060799_ed147e150ae0ab8ca11c4a34726ebd00.crt
/var/cpanel/ssl/installed/keys/e0498_1df09_52dbb207e589b82646de134a3ef33dd8.key
So the question is how to safely move these certs so that they appear correctly in the user's cPanel.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

The certificate data should exist in both locations:

Code:
/var/cpanel/ssl/installed
/home/username/ssl/
The information should be visible in in the "SSL/TLS Manager" within cPanel. Is that not the case?

Thank you.
 

robb3369

Well-Known Member
Mar 1, 2008
122
1
66
cPanel Access Level
Root Administrator
On the cPanel side of things... There is no key, csr or cert listed on those three pages, but the SSL certificate is shown on the "Activate SSL" page...

And if you click on the "Update Certificate", only the certificate and private key are loaded. The configured cabundle is not loaded.

I did find that the other configured SSL sites have their file names changed and the files moved around, but I cannot find any detailed technical reference on what went where... Now the "Use Certificate for New Site" is pretty cool especially if you have a wildcard SSL, you can add it to all the subdomains.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
On the cPanel side of things... There is no key, csr or cert listed on those three pages, but the SSL certificate is shown on the "Activate SSL" page...
Could you open a support ticket so we can take a closer look?

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.