mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
openssl: Display certificate information (#1999)
This commit is contained in:
parent
9a2bec7475
commit
181f2ffb9a
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@
|
|||
|
||||
`openssl x509 -req -days {{days}} -in {{filename.csr}} -signkey {{filename.key}} -out {{filename.crt}}`
|
||||
|
||||
- Display certificate information:
|
||||
|
||||
`openssl x509 -in {{filename.crt}} -noout -text`
|
||||
|
||||
- Display the start and expiry dates for a domain's certificate:
|
||||
|
||||
`openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates`
|
||||
|
|
Loading…
Add table
Reference in a new issue