javax.net.ssl.SSLKeyException

RSA premaster secret error

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web63

  • via Unknown by Donald Cohen,
  • via Unknown by Unknown author,
  • Stack trace

    • javax.net.ssl.SSLKeyException: RSA premaster secret error at sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:116) at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:632) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:220) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:546) at sun.security.ssl.Handshaker.process_record(Handshaker.java:482) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:904) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1140) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1167) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1151) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:423) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1005) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at LoginFormPanel.cmdOK_ClickMYSQL(LoginFormPanel.java:259) at LoginFormPanel.cmdOK_Click(LoginFormPanel.java:237) at LoginFormPanel$1.construct(LoginFormPanel.java:494) at SwingWorker$2.run(SwingWorker.java:107) at java.lang.Thread.run(Thread.java:636) Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available at javax.crypto.KeyGenerator.<init>(KeyGenerator.java:141) at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:191) at sun.security.ssl.JsseJce.getKeyGenerator(JsseJce.java:240) at sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:108) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    HandemelindoHandemelindo
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates