BreadCrumbs: OpenSSL

OpenSSL

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:51, 14 July 2008 (edit)
Ljackson (Talk | contribs)

← Previous diff
Revision as of 03:54, 14 July 2008 (edit)
Ljackson (Talk | contribs)

Next diff →
Line 8: Line 8:
openssl rsa -in server.key.tmp -out server.key openssl rsa -in server.key.tmp -out server.key
- openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt+ openssl x509 -req -days 730 -in server.csr -signkey server.key -out server.crt
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
 +
 +[Category:Linux]

Revision as of 03:54, 14 July 2008

Generate Self-Signed Certificate

openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
cp 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


Sources

[Category:Linux]

Personal tools