LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I copy an SSL Certificate from Linux and send it to someone in an email? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-copy-an-ssl-certificate-from-linux-and-send-it-to-someone-in-an-email-700822/)

jenniekingsland 01-29-2009 10:20 AM

How do I copy an SSL Certificate from Linux and send it to someone in an email?
 
Hi,

We need to get a copy of the SSL certificate for our web server so that users can install it on their PDAs as a trusted certificate.

We need to send the certificate to someone via email.

I have no idea how to do this ive looked on the internet and it doesnt make sense to me im afraid

we are running red hat enterprise 4 please advise if you can

many thanks

jennie

sir-lancealot 01-29-2009 01:30 PM

Jennie,

Not sure on el4, but normally you can look in your apache conf folder. We have a cert's folder, and your cert file will have a .crt extension. So you could do a locate *.crt and look to see where they are.

From there, you can cat the file and make sure it starts with;
-----BEGIN CERTIFICATE-----

Hope that get's you started..

lr

anomie 01-29-2009 02:02 PM

This search should also work on RHEL4:
Code:

# grep -R '^ *SSLCertificateFile' /etc/httpd/conf /etc/httpd/conf.d
(Make sure you type the expression correctly.) You'll get the cert's file path as output.


All times are GMT -5. The time now is 01:28 AM.