javax.net.ssl.SSLKeyException: RSA premaster secret error

redhat.com | 3 weeks ago
  1. 0

    javax.net.ssl.SSLKeyException: RSA premaster secret error

    https://bugzilla.redhat.com/bugzilla/ | 7 years ago | Donald Cohen
    javax.net.ssl.SSLKeyException: RSA premaster secret error
  2. 0

    Bug 524387 – javax.net.ssl.SSLKeyException: RSA premaster secret error

    redhat.com | 3 weeks ago
    javax.net.ssl.SSLKeyException: RSA premaster secret error
  3. 0

    GitHub comment 911#235951608

    GitHub | 4 months ago | wsaxton
    javax.net.ssl.SSLKeyException: RSA premaster secret error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Which permission to set, to avoid error with Security-Manager with https-URLS?

    Stack Overflow | 1 year ago | Mnementh
    javax.net.ssl.SSLKeyException: RSA premaster secret error" happens, but only under certain conditions: if the URL is HTTPS but not for HTTP if the Security-Manager is activated, not when it is deactivated or if in a global grant-Block the AllPermission is set only with Java 6, not with Java 7 (the customer needs Java 6 currently) only with Tomcat6, not with Tomcat 7 (the customer needs Tomcat 6 currently) The Security-violation happens somewhere in Java-Code, an AllPermission restricted to our codebase doesn't prevent the error. So, does someone has an idea, which permission to set for Java 6, so that it can process HTTPS? Other information: It's running inside a tomcat, on a Debian-Linux with OpenJDK. EDIT: I added the Java-Param "-Djava.security.debug=access,failure" to Tomcats /etc/default/tomcat6 in the variable JAVA_OPTS. But in the Logs I have no additional messages. Might it be possible the code asks the permissions before triggering them? EDIT2: I found the correct place and got the full stacktrace (removed specific customer parts): javax.net.ssl.SSLKeyException: RSA premaster secret error at [...]
  6. 0

    NoSuchAlgorithmException using SSL/TLS in javaws

    https://bugzilla.redhat.com/bugzilla/ | 6 years ago | Robert Marcano
    javax.net.ssl.SSLKeyException: RSA premaster secret error

  1. Handemelindo 1 times, last 1 month ago
6 unregistered visitors
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. java.security.NoSuchAlgorithmException

    SunTlsRsaPremasterSecret KeyGenerator not available

    at javax.crypto.KeyGenerator.<init>()
  2. Android Platform
    KeyGenerator.getInstance
    1. javax.crypto.KeyGenerator.<init>(KeyGenerator.java:141)
    2. javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:191)
    2 frames
  3. Java JSSE
    RSAClientKeyExchange.<init>
    1. sun.security.ssl.JsseJce.getKeyGenerator(JsseJce.java:240)
    2. sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:108)
    2 frames