【发布时间】:2016-03-08 03:16:00
【问题描述】:
最近我们必须更新我们在办公室使用的一些 apache 上的 SSLProtocol 和 SSLCipher。
发件人:SSLProtocol -all +TLSv1 +TLSv1.2
SSLCipherSuite HIGH:!aNULL:+SHA1:+MD5:+HIGH
收件人:SSLProtocol -all +TLSv1.1 +TLSv1.2
SSLCipherSuite EECDH+AES:AES256-SHA:AES128-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH:!EXP:!SRP:!DSS:!LOW:!3DES
SSLHonorCipherOrder on
SSLVerifyClient none
SSLVerifyDepth 1
所有测试都是使用 curl 命令完成的。但是在更改 curl 后开始报错。
curl -v https://server1:4034/pages/Status.jsp --trace-ascii /dev/stdoutWarning: --trace-ascii overrides an earlier trace/verbose option== Info: About to connect() to server1 port 4034 (#0)== Info: Trying xxx.xxx.xxx.xxx... == Info: connected== Info: Connected to server1 (xxx.xxx.xxx.xxx) port 4034 (#0)== Info: Initializing NSS with certpath: sql:/etc/pki/nssdb== Info: CAfile: /etc/pki/tls/certs/ca-bundle.crtCApath: none== Info: NSS error -5938== Info: Closing connection #0== Info: SSL connect errorcurl: (35) SSL connect error
我已安装支持 TLSv1.2 的最新可用版本 (7.46.0)。
有什么方法可以使用 curl 对其进行测试?或者有什么方法可以调试 curl 连接? 谢谢
【问题讨论】: