mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 16:46:04 +02:00
openssl-req: hyphenate self-signed (#5052)
This commit is contained in:
parent
4cb9199575
commit
0e3a93a198
1 changed files with 1 additions and 1 deletions
|
@ -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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue