mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
openssl: add certificate expiry checking (#2946)
This commit is contained in:
parent
b264b0a948
commit
a4e73ea757
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@
|
|||
|
||||
`openssl x509 -in {{filename.crt}} -noout -text`
|
||||
|
||||
- Display a certificate's expiration date:
|
||||
|
||||
`openssl x509 -enddate -noout -in {{filename.pem}}`
|
||||
|
||||
- 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