About 9,840,000 results
Open links in new tab
  1. javax.net.ssl.SSLException: Unexpected error: java.security ...

    Mar 6, 2024 · Its a java web application for LDAP, i am implementing LDAPS, so when adding self signed cert ssl certificate i am facing this issue. keytool -genkeypair -keyalg RSA -keysize …

  2. JCE cannot authenticate the provider BC in java swing application

    FYI: instead of modifying java.security and copying jar to \jre\lib\ext, below steps resolved my issue as well. add Security.addProvider (new …

  3. Why java.security.NoSuchProviderException No such provider: BC?

    The jar (bcprov-jdk16-145.jar) has been added to the project, Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()) has been added to the class, and …

  4. ssl - How to fix the "java.security.cert.CertificateException: No ...

    Oct 23, 2013 · Locate the system default 'cacerts' file for your Java installation. Take a look at How to obtain the location of cacerts of the default java installation? Import the certs into that …

  5. java - SSLHandshakeException: No subject alternative names …

    Feb 11, 2016 · com.sun.xml.internal.ws.com.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No …

  6. jvm - What java.security.egd option is for? - Stack Overflow

    Nov 22, 2019 · Java applications can and should use java.security.SecureRandom class to produce cryptographically strong random values by using a cryptographically strong pseudo …

  7. java - Error - trustAnchors parameter must be non-empty - Stack …

    Jul 22, 2011 · java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty I've seen a good amount of information online about the error, but I ...

  8. Where is the java.security file located on Windows?

    May 24, 2016 · I need to locate and edit the java.security file on a Windows 7 host. Where is it located in a default Oracle JRE installation?

  9. java - "PKIX path building failed" and "unable to find valid ...

    Jan 12, 2014 · Note that I actually copied a Windows cacerts file onto a Linux installation and it worked just fine. The file is located in jre/lib/security/cacerts in both the old and new Java jdk …

  10. java - Globally register bouncycastle security provider in JDK 11 ...

    Aug 29, 2019 · Now in Java 11, I've found java.security in conf/security/, which is fine, but there is no lib/ext anymore in Java 11. What is the way to go to globally register Bouncy Castle in Java …