LoginSignup
14
13

More than 5 years have passed since last update.

CentOS 6 や 7 の curl の SSL は OpenSSL ではなく NSS

Posted at

OpenSSL ではなく NSS らしいので --ciphers に OpenSSL の名前で指定しても通りません。

$ curl https://ssl.example.com/ --tlsv1 --ciphers ECDHE-ECDSA-AES256-SHA
curl: (59) Unknown cipher in list: ECDHE-ECDSA-AES256-SHA

NSS の名前で指定する必要があります(https://git.fedorahosted.org/cgit/mod_nss.git/plain/docs/mod_nss.html#Directives の NSSCipherSuite の辺り)。

$ curl https://ssl.example.com/ --tlsv1 --ciphers ecdhe_ecdsa_aes_256_sha
14
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
13