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.

How to Transfer SSL cert.

Discussion in 'General Discussion' started by Pashio, Dec 22, 2005.

  1. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hi Guys

    I need to transfer SSL cert can anyone describe me thr process please.
    How to transfer SSL Cert from one server to another using SSH.:confused:

    Please post the steps to manually transfer the SSL from SSH across two servers

    Thanks !
     
    #1 Pashio, Dec 22, 2005
    Last edited: Dec 22, 2005
  2. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    If you transfer an account through WHM then the SSL cert will be automatically trasnferred.However if you want to transfer the SSL manually then you need SSL cert,Cabundle and the key.

    SSH to the old server and go to /usr/share/ssl/certs/, here you find the www.domain.com.crt (SSL Certificate) and the www.domain.com.cabundle (Cabundle), You will find the key www.domain.com.key at /usr/share/ssl/private/ path.

    cat/open the files and then login to the WHM of the new server, go to WHM >> Web SSL/TLS >> Install a SSL Certificate and Setup the Domain, You need to copy paste the SSL cert, Cabundle and the Key in the provided boxes, Also enter the Domain, User and the IP address that usually WHM automatically picks when you paste the SSL cert in the first box.If not populated then you can enter the Domain, User and the IP address manually.

    After that press Do it and Here you go!
     
  3. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    Thanks for your greate quick reply
    If I create a file www.mydomain in /usr/share/ssl/certs/ and paste the key in the same
    and same case in /usr/share/ssl/private/ in new server is the certificate will get install manually ???

    Thanks once again for your quick fast reply.
     
  4. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    No, because when you install a SSL Certificate, entries are made in the VirtualHost section in the httpd.conf,So go through proper way so that all entries can be added in the proper manner.
     
    #4 WebScHoLaR, Dec 22, 2005
    Last edited: Dec 22, 2005
  5. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Solved

    Hello,

    I have already transfered it with your greate help.
    Just for my knowladge I was asking ;) -- by creating files and restarting httpd ssl cert will not work?:rolleyes:
    Thanks for your valuable time shared with me
     
  6. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    No Problem :) , any time.

    No, it will not work.Let me show you the httpd.conf entries :

    Now you can clearly see the entries added for the SSL Certificate.
     
  7. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    One more question.

    Hi :)

    In case of WHM falure emergencies (or if I want to install it from SSH) if I made all the entries in httpd.conf should it work for me?

    Thanks !
     
  8. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Not sure about that or truly speaking never tried.But hope it works.You can try that and let me know too if that works ;)
     
  9. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Greate help !

    Hey,

    Sure thing, I must have to try this and will let you know too. ;)
    Thanks a lot once again for your help. :)
     
  10. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    I think that should work.... but havent tried..
    I would be pleased if you tell us if that worked for you..
     
  11. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Thanks :D and you are always welcome.
     
  12. Pashio

    Pashio Active Member

    Joined:
    Nov 26, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Boom.... It works

    Hey :D

    Thanks for your greate help on this topic. This works 100% perfectly.

    Thanks once again.........
     
  13. talos

    talos Member

    Joined:
    May 29, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Did work for me.

    Thanks for your help regarding ssl transfer WebScHoLaR, your help was very usefull !!!

    Regards :cool:
     
  14. djgizmo

    djgizmo Registered

    Joined:
    Aug 7, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Quick question from a WHM newbie, for xferring SSL from one server to another. (Upgrading servers) but my ip address will also be changing. Will I still be able to xfer my cert?
     
  15. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Thanks for the help !!

    First, thanks to WebScHoLaR for documenting this process... it saved me a lot of time tonight!!!

    Saw this unanswered question in this thread...

    SSL Certificates are tied to IP addresses, so your certificate isn't going to work if you change IPs. Sometimes the company that issues the SSL certificate will allow you to make changes and get a re-issue.

    - Scott
     
Loading...

Share This Page