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.

  • GitHub comment 221#184258253
    via GitHub by pumpadump
    ,
  • jdk/test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java test fails with following errors: ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with ECDSA client authentication** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with DSA client authentication** ** Failed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 in TLSv1.2 mode with RSA client authentication** STDERR: javax.net.ssl.SSLException: Received fatal alert: unexpected_message at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at java.io.OutputStream.write(OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:378) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:365) at java.lang.Thread.run(Thread.java:745) javax.net.ssl.SSLException: Error generating ECDH server key exchange at sun.security.ssl.Handshaker.throwSSLException(Handshaker.java:1344) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:902) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:928) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at sun.security.ssl.AppInputStream.read(AppInputStream.java:71) at CipherTest$Server.handleRequest(CipherTest.java:77) at JSSEServer$1.run(JSSEServer.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.InvalidKeyException: No installed provider supports this key: sun.security.pkcs.PKCS8Key at java.security.Signature$Delegate.chooseProvider(Signature.java:1135) at java.security.Signature$Delegate.engineInitSign(Signature.java:1176) at java.security.Signature.initSign(Signature.java:527) at sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1032) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:898) The failure was observed on linux_2.6, but it may be irrelevant due to randomness nature of the failure. Full jtr log is attached.
    via by Aleksej Efimov,
    • javax.net.ssl.SSLException: Received fatal alert: protocol_version at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.io.DataOutputStream.flush(DataOutputStream.java:123) at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:129) at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:134) at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:277) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:813) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:767) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:857) at com.rabbitmq.examples.perf.MulticastSet.run(MulticastSet.java:63) at com.rabbitmq.examples.PerfTest.main(PerfTest.java:117)

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,
    Andreas HäberAndreas Häber
    8 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    106 more bugmates