Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just moved hosts and I looked for a decent guide on how to move my SSL certificate from my old host to the new one.

I am amazed on how many 'guides' or 'tutorials' which are simply useless are out there.

Anyone has any link in his favorites or knows of a simple step by step guide on how to move the certificate?

I'm on Ubuntu and it's an unmanaged server, so no cpanel/plesk, just root ssh.

Thanks!

share|improve this question
    
Do you have ssh access to the old server? Or just a web control panel? Also, did you purchase the SSL certificate yourself? –  VxJasonxV Dec 6 '10 at 2:01
    
I purchased it myself and I do have ssh access to the old server –  JohnB Dec 6 '10 at 6:42

2 Answers 2

John,

Look in your apache conf file on the old server under the SSL section. You are looking for similar entries. This basically tells you the path of the certificate and the key file.

SSLCertificateFile /etc/apache2/ssl/server.crt

SSLCertificateKeyFile /etc/apache2/ssl/server.key

Copy the certificate (.crt file) and key over to your new server and follow the steps of configuring SSL with apache. The below mentioned link has steps to setup SSL w/Apache on Ubuntu. You can skip the section on generating a certificate.

http://www.linode.com/wiki/index.php/Apache2_SSL_in_Ubuntu

share|improve this answer

Have a look in your virtual host config file on your old server for the domain in question. You will see some paths to some certificates.

Copy these certs over to the new server, and update the vhost config file for the domain in the new server to include these certificate files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.