SSLHandshakeException: Received fatal alert: handshake_failure when setting ciphers on tomcat 7 server

后端 未结 1 503
借酒劲吻你
借酒劲吻你 2020-12-03 09:01

I have a Tomcat7 web-server which I tried to configure to accept secure connections by adding this connector to the server.xml file:



        
相关标签:
1条回答
  • 2020-12-03 09:38

    Well, I got this issue solved. It appears that by creating a self-signed certificate, using keytool, without providing -keyalg parameter makes the key-pair algorithm default to DSA. None of my ciphers suite included DSA algorithm. In that case, although the client and the server had intersection between their cipher-suites, neither was suitable for the key algoritm.

    Adding -keyalg RSA when generating the keystore, solved the problem.

    0 讨论(0)
提交回复
热议问题