BreadCrumbs: OpenSSL

OpenSSL

From Luke Jackson

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

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

Next diff →
Line 4: Line 4:
openssl req -new -key server.key -out server.csr 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 365 -in server.csr -signkey server.key -out server.crt openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

Revision as of 03:51, 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 365 -in server.csr -signkey server.key -out server.crt


Sources

Personal tools