openssl: add subcommand pages (#4886)

This commit is contained in:
Mat
2020-10-28 20:03:16 +01:00
committed by GitHub
parent c84a806560
commit 5819677893
4 changed files with 54 additions and 26 deletions

View File

@@ -0,0 +1,16 @@
# openssl s_client
> OpenSSL command to create TLS client connections.
> More information: <https://www.openssl.org/docs/manmaster/man1/openssl-s_client.html>.
- 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`
- Display the complete certificate chain of an HTTPS server:
`openssl s_client -connect {{host}}:443 -showcerts </dev/null`