The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Move SSL certificates from WHM to cPanel

Discussion in 'Security' started by robb3369, Jul 15, 2013.

  1. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Created new ticket # 4295589
     
Loading...

Share This Page