BreadCrumbs: OpenSSL
OpenSSL
From Luke Jackson
(Difference between revisions)
Revision as of 04:07, 14 July 2008 (edit) Ljackson (Talk | contribs) ← Previous diff |
Revision as of 04:11, 14 July 2008 (edit) Ljackson (Talk | contribs) Next diff → |
||
Line 14: | Line 14: | ||
* http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-secureserver-generatingkey.html | * http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-secureserver-generatingkey.html | ||
+ | * http://www.fedoraforum.org/forum/archive/index.php/t-107046.html | ||
+ | * http://www.modssl.org/docs/2.8/ssl_faq.html#cert-ownca | ||
+ | |||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 04:11, 14 July 2008
Generate Self-Signed Certificate
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
mv server.key server.key.tmp openssl rsa -in server.key.tmp -out server.key
openssl x509 -req -days 730 -in server.csr -signkey server.key -out server.crt