OpenSSL

From Chorke Wiki
Revision as of 04:21, 27 February 2018 by Shahed (talk | contribs) (Created page with "== Manipulation == <syntaxhighlight lang="bash"> # generate a new private key and certificate signing request openssl req -out chorke.csr -new -newkey rsa:2048 -nodes \ -keyou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Manipulation

# generate a new private key and certificate signing request
openssl req -out chorke.csr -new -newkey rsa:2048 -nodes \
-keyout chorke.key

#generate a self-signed certificate 
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 \
-keyout privateKey.key -out certificate.crt

References