openssl-req: hyphenate self-signed (#5052)

This commit is contained in:
aherst
2020-12-26 16:41:12 -05:00
committed by GitHub
parent 4cb9199575
commit 0e3a93a198

View File

@@ -7,6 +7,6 @@
`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}` `openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}`
- Generate a selfsigned certificate and a corresponding keypair, storing both in a file: - Generate a self-signed certificate and a corresponding keypair, storing both in a file:
`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}` `openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}`