java.io.IOException: SSL configuration is invalid due to No available certificate or key corresponds to the SSL cipher suites which are enabled.

Oracle Community | green.ronald | 5 years ago
  1. 0

    glassfish 3.1.1 import ssl certificates

    Stack Overflow | 5 years ago | Videanu Adrian
    java.io.IOException: SSL configuration is invalid due to No available certificate or key corresponds to the SSL cipher suites which are enabled.
  2. 0

    How do you setup SSL with Grails?

    Stack Overflow | 6 years ago | Antony Stubbs
    javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
  3. 0

    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

    MuleSoft JIRA | 5 years ago | Dan Diephouse
    javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    MuleSoft JIRA | 5 years ago | Dan Diephouse
    javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
  6. 0

    Glassfish 3 SSL issues

    Oracle Community | 5 years ago | green.ronald
    java.io.IOException: SSL configuration is invalid due to No available certificate or key corresponds to the SSL cipher suites which are enabled.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      No available certificate or key corresponds to the SSL cipher suites which are enabled.

      at sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites()
    2. Java JSSE
      SSLServerSocketImpl.accept
      1. sun.security.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:327)
      2. sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:272)
      2 frames