|
From: <eri...@th...> - 2018-06-19 18:40:10
|
I’m having a hard time getting SSL working on Linux. I’m trying to use a self-signed certificate on a Acceptor. I generated a keystore with: keytool -genkey -keyalg RSA -alias foobar -keystore foobar.jks -storepass foobar -validity 360 -keysize 2048 And I am configuring the acceptor to use it with: SocketUseSSL=Y SocketKeyStore=foobar.jks SocketKeyStorePassword=foobar It seems to be opening the keystore ok, but regardless of what I try I end up with: Caused by: javax.net.ssl.SSLHandshakeException: no cipher suites in common at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) When I try to accept a session. 1) Do I need to configure CipherSuites? Which ones? I am having trouble figuring out how to figure that out. 2) Does the client need a keystore? I’m only trying to encrypt, not authenticate. I’ve tried it with and without, same result. |