Reputation: 1461
I've got simple HttpsServer with self-signed certificate installed. Also "JCE Unlimited Strength Jurisdiction Policy" files were installed along with Bouncy Castle security provider.
A simple client succesfully connects to server, but my chrome browser fails to connect.
From server logs:
SSLHandshakeException: no cipher suites in common
I checked ciphers suits both on browser and server, they indeed have no suits in common.
Do somebody know how to solve the problem?
PS. I checked JCE unlimited policy is installed and Bouncy castle also installed. Server is launched with VM options -Djavax.net.debug=ssl -Dhttps.protocols=TLSv1.1,TLSv1.2
Upvotes: 0
Views: 84
Reputation: 1461
I created certificate with the following command:
keytool -genkey -keystore server.jks -dname -storepass storepass -alias server-test -keypass serverpass
on java 8. By default DSA algorithm is used. Adding -keyalg RSA option fixed the issue!
Upvotes: 0