mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 06:05:59 +02:00
openssl s_client: add '-servername' (#8002)
This commit is contained in:
parent
870c730191
commit
b1c9bce207
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
`openssl s_client -connect {{host}}:{{port}} </dev/null`
|
`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:
|
- Display the complete certificate chain of an HTTPS server:
|
||||||
|
|
||||||
`openssl s_client -connect {{host}}:443 -showcerts </dev/null`
|
`openssl s_client -connect {{host}}:443 -showcerts </dev/null`
|
||||||
|
|
Loading…
Add table
Reference in a new issue