javax.net.ssl.SSLKeyException

RSA premaster secret error

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web115

  • via https://bugzilla.redhat.com/bugzilla/ by Donald Cohen, 1 year ago
    RSA premaster secret error
  • via GitHub by wsaxton
    , 11 months ago
    RSA premaster secret error]
  • RSA premaster secret error
  • 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.writeRecord(SSLSocketImpl.java:643) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:78) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) 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)

    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

    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    3 more bugmates