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

Please provide me a way to install ssl certificate on linux machine. Alternatively please do provide me process to install .p12 or .cer file on linux machine.

Is it necessary to install the ssl certificate on the machine(fedora linux), which is being used to connect to for iphone push

share|improve this question

migrated from Aug 6 '09 at 17:54

This question came from our site for professional and enthusiast programmers.

Installing a certificate / key on a linux machine is as simple as copying the file to the server. Most distributions have a standard location for storing the certificates and/or keys. The harder problem is configuring your application to look in the correct directory.

What application will need to use this certificate? Are you installing a root certificate to validate the server cert? Or are you installing a certificate and key so you can serve information over SSL?

share|improve this answer
Thanks for the answer, it would be great if you could give me some pointers as to which location in Fedora, the files would be stored. I am trying to install a certificate and key , to serve info over SSL. – nilesh Aug 7 '09 at 6:58
Standard location on most linuxes is /etc/ssl, however it doesn't matter as services need to individually be pointed at the certificate and key. – LapTop006 Aug 7 '09 at 13:21
As LapTop006 points out, it doesn't really matter where you install them, as long as you point Apache (or whatever service you're using) to the correct certificate and key. I dont' have ready access to a Fedora box, but the common locations are /etc/ssl/certs/ for the certificate and /etc/ssl/private for the key. On RedHat, though, it appears to be /etc/pki/tls/{certs,private}. I'm not sure which approach Fedora uses. – Insyte Aug 7 '09 at 15:46

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.