javax.net.ssl.SSLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If you specify a keystore which doesn't exist like in this configuration: <https:connector name="httpsConnector"> <https:tls-key-store path="keystore.jks" keyPassword="password" storePassword="password"/> </https:connector> <spring:bean id="helloWorld" class="com.mulesoft.ion.example.HelloWorld"/> <flow name="HelloWorld"> <inbound-endpoint address="https://localhost:${https.port}/hello" exchange-pattern="request-response"/> <invoke method="sayHello" object-ref="helloWorld"/> </flow> Then, you access the URL, Mule goes into an infinite loop printing messages like these: ERROR 07-04-11 13:45:06 ******************************************************************************** Message : No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) sun.security.ssl.SSLServerSocketImpl:327 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLException.html) 2. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) (org.mule.transport.ConnectException) org.mule.transport.tcp.TcpMessageReceiver$1:159 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/ConnectException.html) -------------------------------------------------------------------------------- Root Exception stack trace: javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272) at org.mule.transport.tcp.TcpMessageReceiver$1.doWork(TcpMessageReceiver.java:153) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 07-04-11 13:45:06 ******************************************************************************** Message : No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) sun.security.ssl.SSLServerSocketImpl:327 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLException.html) 2. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) (org.mule.transport.ConnectException) org.mule.transport.tcp.TcpMessageReceiver$1:159 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/ConnectException.html) -------------------------------------------------------------------------------- Root Exception stack trace: javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272) at org.mule.transport.tcp.TcpMessageReceiver$1.doWork(TcpMessageReceiver.java:153) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 07-04-11 13:45:06 Failed to connect/reconnect: https://localhost:8082/hello. Root Exception was: No available certificate or key corresponds to the SSL cipher suites which are enabled.. Type: class javax.net.ssl.SSLException
    via by Dan Diephouse,
  • If you specify a keystore which doesn't exist like in this configuration: <https:connector name="httpsConnector"> <https:tls-key-store path="keystore.jks" keyPassword="password" storePassword="password"/> </https:connector> <spring:bean id="helloWorld" class="com.mulesoft.ion.example.HelloWorld"/> <flow name="HelloWorld"> <inbound-endpoint address="https://localhost:${https.port}/hello" exchange-pattern="request-response"/> <invoke method="sayHello" object-ref="helloWorld"/> </flow> Then, you access the URL, Mule goes into an infinite loop printing messages like these: ERROR 07-04-11 13:45:06 ******************************************************************************** Message : No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) sun.security.ssl.SSLServerSocketImpl:327 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLException.html) 2. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) (org.mule.transport.ConnectException) org.mule.transport.tcp.TcpMessageReceiver$1:159 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/ConnectException.html) -------------------------------------------------------------------------------- Root Exception stack trace: javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272) at org.mule.transport.tcp.TcpMessageReceiver$1.doWork(TcpMessageReceiver.java:153) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 07-04-11 13:45:06 ******************************************************************************** Message : No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) sun.security.ssl.SSLServerSocketImpl:327 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLException.html) 2. No available certificate or key corresponds to the SSL cipher suites which are enabled. (javax.net.ssl.SSLException) (org.mule.transport.ConnectException) org.mule.transport.tcp.TcpMessageReceiver$1:159 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/ConnectException.html) -------------------------------------------------------------------------------- Root Exception stack trace: javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272) at org.mule.transport.tcp.TcpMessageReceiver$1.doWork(TcpMessageReceiver.java:153) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 07-04-11 13:45:06 Failed to connect/reconnect: https://localhost:8082/hello. Root Exception was: No available certificate or key corresponds to the SSL cipher suites which are enabled.. Type: class javax.net.ssl.SSLException
    via by Dan Diephouse,
  • How do you setup SSL with Grails?
    via Stack Overflow by Antony Stubbs
    ,
  • Glassfish 3 SSL issues
    via by green.ronald,
    • javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled. at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327) at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272) at org.mule.transport.tcp.TcpMessageReceiver$1.doWork(TcpMessageReceiver.java:153)
    No Bugmate found.