使用 openssl 为 tomcat 服务器测试密码套件导致错误

使用 openssl 为 tomcat 服务器测试密码套件导致错误

我正在使用 tomcat 6.0.28。并且我已经使用“TLS_ECDHE_RSA_WITH_RC4_128_SHA”配置了连接器,但是当我测试密码是否适合时,我收到以下错误:

  > F:\validation\20141204202945-openssl-1.0.1j-64\openssl-1.0.1j.64\bin>openssl s_client -connect localhost:9251 -cipher ECDHE-RSA-RC4-SHA 
   >   WARNING: can't open config file: c:/openssl-1.0.1j.64/ssl/openssl.cnf
  > Loading'screen' into random state - done CONNECTED(00000160)
    > 6616:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure:.\ssl\s23_clnt.c:770:
    >     --- no peer certificate available
    >     --- No client certificate CA names sent
    >     --- SSL handshake has read 7 bytes and written 163 bytes
    >     --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE

请帮助我

相关内容