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.


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

1 Answer 1


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.


share|improve this answer

Your Answer


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.