mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:53:11 +02:00
Replace viewing a csr example with example for creating a self signed certificate.
This commit is contained in:
parent
53c6ffe4cf
commit
4cbfcfdc0d
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@
|
|||
|
||||
`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}`
|
||||
|
||||
- Read contents of a signed certificate:
|
||||
- Generate a self-signed certificate from a certificate signing request valid for some number of days:
|
||||
|
||||
`openssl x509 -text -noout -in {{certificate.crt}}`
|
||||
`openssl x509 -req -days {{days}} -in {{filename.csr}} -signkey {{filename.key}} -out {{filename.crt}}`
|
||||
|
||||
- Display the certificate presented by an SSL/TLS server:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue