About 12,000,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 2048 -alias …

  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 org.bouncycastle.jce.provider.BouncyCastleProvider ()) in your …

  3. OpenJDK 14 : java.security.NoSuchProviderException: no such provider ...

    Jul 1, 2020 · OpenJDK 14 : java.security.NoSuchProviderException: no such provider: BC when set statically Asked 5 years, 5 months ago Modified 5 years, 5 months ago Viewed 5k times

  4. java - SSLHandshakeException: No subject alternative names present ...

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

  5. 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-random number …

  6. 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 cacerts file: …

  7. 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 …

  8. 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 ...

  9. 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?

  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 11?