Ask a Question

javax.net.ssl.SSLHandshakeException: no cipher suites in common

rremedios
Occasional Contributor

javax.net.ssl.SSLHandshakeException: no cipher suites in common

Testing TLS 1.2 using SOAPUI as server. I have the following client / server configuration where TLS 1.2 is concerned.

Is thera a way to dump what ciphers SOAPUI supports regardless of what is configured in the application to determine what it thinks is the mismatch?

 

SOAPUI server set to support:

Currently SoapUI-5.7.0.vmoptions is set to support :

-Dsoapui.https.protocols="SSLv1,SSLv2,SSLv3,TLSv1.0,TLSv1.1,TLSv1.2"
-Dsoapui.https.ciphers=TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256

 

Client set to support :

0x009c:TLS_RSA_WITH_AES_128_GCM_SHA256
0x003d:TLS_RSA_WITH_AES_256_CBC_SHA256
0x0035:TLS_RSA_WITH_AES_256_CBC_SHA
0x002f:TLS_RSA_WITH_AES_128_CBC_SHA
0x000a:TLS_RSA_WITH_3DES_EDE_CBC_SHA

the SOAPUI Jetty Log is putting out this error:

  • Tue Jan 17 10:16:21 EST 2023:INFO:Started SslSocketConnector@0.0.0.0:8443
  • Tue Jan 17 10:16:21 EST 2023:INFO:Started JettyMockEngine$SoapUIConnector@0.0.0.0:8088
  • Tue Jan 17 10:16:37 EST 2023:WARN:EXCEPTION
  • javax.net.ssl.SSLHandshakeException: no cipher suites in common
  • at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
  • at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
  • at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:356)
  • at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312)
  • at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:303)
  • at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.chooseCipherSuite(ServerHello.java:471)
  • at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.produce(ServerHello.java:297)
  • at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:440)
  • at java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1120)
  • at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:853)
  • at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:812)
  • at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
  • at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
  • at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
  • at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:199)
  • at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171)
  • at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1498)
  • at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1404)
  • at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:441)
  • at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:412)
  • at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:708)
  • at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  • at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  • at java.base/java.lang.Thread.run(Thread.java:831)

 

The SOAPUI Preferences SSL Settings is set like so:

 

rremedios_0-1673969232845.png

 

Thanks

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: