Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a mail server for a company, I've done everything, generated csr, everything is working, I just need to add godaddy's ssl, the instructions given by godaddy aren't clear, i need some help, we have a centos dedicated server and apache, Any help on how to set it up?

By the way, the main site is hosted on another server, the mail server is used only for serving mails, we used mx records to point the mail server to the main domain, do we have to install ssl on both servers or just one?

share|improve this question
What do you mean by "add godaddy's ssl"? Are you talking about the signed certificate they generated for you or is there an intermediate certificate involved? – Scott Pack Feb 12 '13 at 14:39
@ScottPack I'm talking about the signed certificate they generated, they gave me sf_bundle.crt and mysite.crt i have to install them on the server, the instructions aren't very clear, besides we have 2 servers one for and the second is for, where should i install the certificate? – Lynob Feb 12 '13 at 14:49
up vote 3 down vote accepted

So when you generated your CSR you would have specified a CN (Common Name) that corresponds to the specific hostname that you want to use the certificate for.1 Where ever this hostname lives is where you want to install the certificate. For the sake of sane examples let's use as the hostname for your certificate.

When you generated the CSR you would have created two files,

  1. A cryptographic key
  2. The CSR you shipped off to GoDaddy

So now that you have the signed certificate back from them you'll need to place the following three pieces of information on the webserver that hosts

  1. The cryptographic key generated when you made the CSR
  2. The mysite.crt file provided by GoDaddy
  3. The sf_bundle.crt file provided by GoDaddy

Now go to the Apache config file for the host. You'll want to add these lines

SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1

SSLCertificateFile /etc/httpd/ssl/mysite.crt
SSLCertificateKeyFile /etc/httpd/ssl/mysite.key
SSLCertificateChainFile /etc/httpd/ssl/sf_bundle.cer

Replace the paths as necessary, but just make sure you put them someplace safe with root only permissions. Restart httpd and, so long as you did everything right, it should work.

1: Not 100% accurate but let's ignore wildcards for the moment.

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.