532 questions
2
votes
1
answer
63
views
Is there any way to view server certs that failed verification in Java? [duplicate]
My Java client's SSL handshake with a server is failing to authenticate the PKIX certificate chain, and I'm interested in viewing the server certificates that were presented during the handshake, ...
0
votes
1
answer
97
views
How to view handshake/certificate information for attempted but failed connection, Python ssl
I am attempting to connect a client and server with sslContext.wrap_socket with the Python ssl library. I am getting some strange SSL errors including WRONG_VERSION_NUMBER and UNKNOWN_CA even though ...
0
votes
2
answers
423
views
SSLHandshakeException in ClientHello handshake message
I have a Java client that connects to the remote system, to get the token. It's failing with the SSLHandshakeException.
The Java client code:
public class OauthValidation {
private static ...
0
votes
1
answer
84
views
jmeter run is showing error which shows SSL Handshake Exception
Thread Name:Thread Group 1-1
Sample Start:2024-08-21 16:21:30 IST
Load time:153
Connect Time:153
Latency:0
Size in bytes:2886
Sent bytes:0
Headers size in bytes:0
Body size in bytes:2886
Sample Count:...
1
vote
0
answers
206
views
vsslproxy: Client {IP} failed SSL negotiation (ssl/record/ssl3_record.c/350): error:1408F1BB:SSL routines:ssl3_get_record:bad record type)
During the last few weeks, some client complained that they are "kicked" from our website and after some digging around, we found that the load balancer return this error for those client (...
0
votes
0
answers
9k
views
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid cert
I am getting the below java exception for API which I am triggering from eclipse,
JAVA Version : 1.8
IDE : Eclipse
Exception :"javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun....
0
votes
0
answers
289
views
GreenMail: SSLHandshakeException: Received fatal alert: handshake_failure when try to connect IMAPS
I've been trying to fetch an mocked mail of GreenMail instance through IMAPS protocol and no matter what I do, I keep receiving javax.net.ssl.SSLHandshakeException: Received fatal alert: ...
0
votes
0
answers
105
views
mongo atlas connection to AWS ECS
I have a Java API that uses Mongo Atlas but locally it works but when it goes to the cloud in the AWS ECS I get these errors:
Caused by: javax.net.ssl.SSLException: Received fatal alert: ...
0
votes
0
answers
311
views
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure in java 17
I'm trying to send get reuest to the server.But i'm always getting "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure" .I'm using openjdk-17.0.1 .
package org....
0
votes
1
answer
304
views
Why can't Java 11 connect to web site that browsers can?
I'm trying to connect connect to a website that recently changed their TLS configuration. It no longer works from Java 11 (nor 17). It fails at the handshake but the error message doesn't say ...
2
votes
0
answers
93
views
Error while connecting Mongodb Atlas using Dart
HandshakeException
This is how I'm trying to connect to the MongoDB:
class MongoDatabase {
static connect() async {
var db = await Db.create(MONGO_URL);
await db.open();
inspect(db);
...
0
votes
1
answer
2k
views
Android "HTTP FAILED: javax.net.ssl.SSLHandshakeException: Chain validation failed" exception after hostname changes
Who knows how to fix this problem?
This is my prod server:
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "String", "...
2
votes
0
answers
837
views
When I run the example code of openai-java in my machine, SSLHandshakeException error happens
I tried to run the example of openai-java, but SSLHandshakeException error happens.
here is my code
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator....
-1
votes
1
answer
5k
views
"Received fatal alert: handshake_failure; nested exception is javax.net.ssl.SSLHandshakeException:" in Spring Boot
I need to call an external API that returns the food's name and the food's image URL in JSON format. As shown below.
"extendedIngredients": [
{
"id": 1001,
...
0
votes
0
answers
88
views
Problem with RootCA and SubCA when calling Webservice
we are getting some Probllem and Handshake errors when we are trying to connect Web Service. I will try to describe the Problem Any help would be greatly appreciated.
We imported the certificate (...
0
votes
1
answer
845
views
SSLHandshakeException in mvnw verify
I'm trying to build pact-workshop-Maven-Springboot-JUnit5/tree/step1 but getting this error when I run command "mvnw verify":
C:\Users\MyUser\git\pact-workshop-Maven-Springboot-JUnit5\...
0
votes
1
answer
9k
views
(HANDSHAKE_FAILURE): Received fatal alert: handshake_failure
I am getting ssl handshake exception after "Produced client Finished handshake message" Step in my java spring boot application (openjdk version "11.0.12").
org.springframework.web....
1
vote
0
answers
834
views
karate.org.apache.http.conn.HttpHostConnectException: Connection timed out: Http call failed after 21407 milliseconds
I see the below error when I run my script to retrieve token data using Karate framework -
karate.org.apache.http.conn.HttpHostConnectException: Connection timed out: connect, http call failed after ...
0
votes
1
answer
701
views
Java Grizzly server and Jersey client Received fatal alert: certificate_unknown
I have a Java application with an embedded SSL server and client.
My application uses client authentication to determine the identity of the client, so the server is configured with wantClientAuth=...
1
vote
1
answer
576
views
How to get the certificates after SSLHandshakeException in Java?
How to get the details of an SSLHandshakeException? I try to get the certificates to see the cause of the exception but it throw only a NullPointerException.
URL url = new URL( "https://...
3
votes
0
answers
605
views
Exit with code 1 due to network error: SslHandshakeFailedError
I am trying to convert an HTML web page using wkhtmltopdf API and pdfkit library. But when I am entering the URL of any web page it is showing me this error.
Traceback (most recent call last):
File &...
4
votes
3
answers
14k
views
c# SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL
This error occurs on a single endpoint.
It is the one that tries to extract data from SqlServer.
If I try to run IIS everything works fine.
When I run in a linux docker container, it doesn't work ...
0
votes
0
answers
4k
views
java 17 javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
I want to send/receive information from my website (https not http) so I try to use Java method / Apache / okhttp and I have the same problem :
javax.net.ssl.SSLHandshakeException: Received fatal ...
1
vote
1
answer
3k
views
SSLHandshakeException only when using RestTemplate
I'm using Java 8, trying to post https third party (other subdomain works), works with postman, but using RestTemplate throws SSLHandshakeException
new RestTemplate().postForEntity("https://...
2
votes
1
answer
2k
views
Wrong version number error on *some* websites during handshake with Asio and OpenSSL
I'm trying to send https web requests with Asio and OpenSSL. My code is working fine on most of the sites I tried it on, but on some others, I get an error during the handshake handshake: wrong ...