Priyanka Taneja
Priyanka Taneja
Handshake_failure(40); nested exception is org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
@peterdettman Peter I am sharing all the detail, please help. Thanks I am setting these Java options export _JAVA_OPTIONS="-Djdk.tls.trustNameService=true -Dorg.bouncycastle.jca.enable_jks=true -Djava.security.debug=provider -Djava.security.properties==/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/jre/lib/security/java.security.bcfips -Dorg.bouncycastle.fips.approved_only=true" Changing these properties in JAVA.security file security.provider.1=org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider...
Handshake_failure(40); nested exception is org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
> We need more information to help you. What version of BC jars are you using? Do you have a full stack trace for the exception? What system are you...
Handshake_failure(40); nested exception is org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
> This exception happens when the server simply closes the connection before the handshake has completed. It means that you would need to look at the server logs in order...
Handshake_failure(40); nested exception is org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
> The two code examples look the same to me. Do you mean that you changed the URL from http to https? > > HTTP doesn't use TLS at all,...
Handshake_failure(40); nested exception is org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
> The HTTP connection doesn't use TLS, and the HTTPS connection does use TLS, but gets the handshake_failure exception. The TLS connection happens (and fails) before any request is sent,...