Also verify server key.
This commit is contained in:
parent
066f845d52
commit
9f8a13c387
@ -1,6 +1,6 @@
|
|||||||
= OpenSSL Certificate Chain
|
= OpenSSL Certificate Chain
|
||||||
|
|
||||||
Version: 0.0.0.5
|
Version: 0.0.0.6
|
||||||
|
|
||||||
|
|
||||||
This documentation contains the complete set of commands to create a new OpenSSL self-signed
|
This documentation contains the complete set of commands to create a new OpenSSL self-signed
|
||||||
@ -45,6 +45,9 @@ Each key can be encrypted or unencrypted, with multiple encryption options; AES
|
|||||||
== Create Server Key
|
== Create Server Key
|
||||||
`openssl genrsa -aes256 -out server-key.pem 2048`
|
`openssl genrsa -aes256 -out server-key.pem 2048`
|
||||||
|
|
||||||
|
== Verify Server Key
|
||||||
|
`openssl rsa -noout -text -in server-key.pem`
|
||||||
|
|
||||||
== Create Server Cerificate Signing Request
|
== Create Server Cerificate Signing Request
|
||||||
`openssl req -new -sha256 -subj "/C=/ST=/L=/O=/CN=" -addext "subjectAltName = DNS.1:" -key server-key.pem -out server-csr.pem`
|
`openssl req -new -sha256 -subj "/C=/ST=/L=/O=/CN=" -addext "subjectAltName = DNS.1:" -key server-key.pem -out server-csr.pem`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user