HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   SSL Certificates with OpenSSL (http://www.howtoforge.com/forums/showthread.php?t=63)

heat 3rd May 2005 12:28

SSL Certificates with OpenSSL
 
Hi all,

how can I create SSL certificates with OpenSSL on the command line. I googled a little bit, but this is all very confusing to me so I'd appreciate a clear set of instructions... :D

falko 4th May 2005 11:41

Something like this should work:

Code:

openssl genrsa -des3 -passout pass:yourpassword -out /path/to/your/key_file 1024
openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -out /path/to/your/csr_file -days 365
openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -in /path/to/your/csr_file -out /path/to/your/crt_file -days 365
openssl rsa -passin pass:yourpassword -in /path/to/your/key_file -out /path/to/your/key_file2
chmod 400 /path/to/your/key_file2


yalgashev 24th January 2011 14:02

openssl signing certificate request
 
Hi, all! :)
I use openssl to sign erificate request by this way:
openssl ca -passin pass:5234590 -policy policy_match -out 1.crt -infiles 1.csr
Please help me: how to generate certificate that should just protect email?
Sorry for my bad English

Thanks for advises!

falko 25th January 2011 14:25

The procedure is the same.


All times are GMT +2. The time now is 11:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.