1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 19:05:59 +02:00

openssl s_client: add '-servername' (#8002)

This commit is contained in:
Julia Evans 2022-04-15 08:18:42 -04:00 committed by GitHub
parent 870c730191
commit b1c9bce207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@
`openssl s_client -connect {{host}}:{{port}} </dev/null`
- Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server:
`openssl s_client -connect {{host}}:{{port}} -servername {{hostname}}`
- Display the complete certificate chain of an HTTPS server:
`openssl s_client -connect {{host}}:443 -showcerts </dev/null`