I have a Tomcat7 web-server which I tried to configure to accept secure connections by adding this connector to the server.xml
file:
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.