BreadCrumbs: OpenSSL

OpenSSL

From Luke Jackson

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

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

Next diff →
Line 5: Line 5:
openssl req -new -key server.key -out server.csr openssl req -new -key server.key -out server.csr
- cp server.key server.key.tmp+ mv server.key server.key.tmp
openssl rsa -in server.key.tmp -out server.key openssl rsa -in server.key.tmp -out server.key

Revision as of 04:07, 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


Sources

Personal tools