mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-11 06:16:53 +03:00
openssl: display a domain's cert's start and end dates (#1486)
This commit is contained in:
parent
c3a4edd934
commit
415daf8c4b
@ -14,6 +14,10 @@
|
||||
|
||||
`openssl x509 -req -days {{days}} -in {{filename.csr}} -signkey {{filename.key}} -out {{filename.crt}}`
|
||||
|
||||
- Display the start and expiry dates for a domain's certificate:
|
||||
|
||||
`openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates`
|
||||
|
||||
- Display the certificate presented by an SSL/TLS server:
|
||||
|
||||
`openssl s_client -connect {{host}}:{{port}} </dev/null`
|
||||
|
Loading…
Reference in New Issue
Block a user