其他分享
首页 > 其他分享> > openssl验证服务端(https/openssh ..)是否支持特定的cipher

openssl验证服务端(https/openssh ..)是否支持特定的cipher

作者:互联网

查看openssl版本

openssl version

查看openssl支持哪些ciphers

openssl ciphers

验证服务端是否支持指定的cipher

openssl s_client -connect www.baidu.com:443 -tls1_2 -cipher ECDHE-ECDSA-AES128-GCM-SHA256

SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: E5BDD1D250ED101D210CF98EE0D02CE1BD7963E201A0D6FD59B1226566AF3C8B
Session-ID-ctx:
Master-Key: 1EB5803647F7C2074B5FFFD3941A07E91F04B41FC6D684E64A32E967D44485ED4A7AC5082089BB917D3DA787F4604741
PSK identity: None
PSK identity hint: None
SRP username: None
...

标签:None,..,openssh,openssl,AES128,Session,SHA256,cipher
来源: https://www.cnblogs.com/real-bert/p/15375897.html