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.

Moving SSL certs to cPanel from Ensim

Discussion in 'General Discussion' started by Biotron2000, Aug 24, 2004.

  1. Biotron2000

    Biotron2000 Active Member

    Joined:
    Jul 20, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    I did a forum search but did not find any consistent answers.
    We recently moved all our accounts over to cPanel from a mostly dead Ensim box, but the SSL certificates did not move over. The Webppliance is no longer accessible on the Ensim server but I can copy files from it via FTP. What files do I need to get and how do I install them on the cPanel server? I'm new to cPanel, SSL, etc. so details are appreciated :)

    Thanks,
    Patrick McNeal
     
  2. Biotron2000

    Biotron2000 Active Member

    Joined:
    Jul 20, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Answered my own question!

    A little experimentation gave me the answer.
    This worked for getting certificates from an Ensim 3.5 server on Red Hat 7.

    Main site certificate:

    Files to copy:
    /etc/httpd/conf/ssl.crt/server.crt
    /etc/httpd/conf/ssl.key/server.key
    /etc/httpd/conf/ssl.crt/ca-bundle.crt

    1. In Web Host Manager, go to SSL/TLS>Install an SSL Certificate and Setup the Domain.

    2. In the right-hand pane, enter the domain name, user and ip address (user and IP may auto-populate once you enter the domain name. Check these against your records to ensure they are correct).

    3. In the right-hand pane, paste the entire contents of the server.crt file into the top box.

    4. In the right-hand pane, paste the entire contents of the server.key file into the middle box.

    5. In the right-hand pane, paste the entire contents of the ca-bundle.crt file into the bottom box.

    6. Press the "Do it" button. If the installation is successful, WHM will notify you and restart the httpd service.

    The procedure for individual sites is nearly identical but can be time-consuming. Luckily, not all sites have SSL certificates!

    Files needed:
    /home/virtual/siteXX/fst/etc/httpd/conf/ssl.crt/server.crt
    /home/virtual/siteXX/fst/etc/httpd/conf/ssl.key/server.key
    (Replace XX with the site number)
    An easy way to find them is to use an SSH client like SecureCRT to login to the Ensim server as root, then type "locate server.crt" to find the certificates and "locate server.key" to find the directories which contain the needed files.
    Follow steps 2, 3, 4 and 6 above to install the site certificates.
     
  3. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    :D Nice work
     
Loading...

Share This Page