Questions tagged [sslhandshakeexception]

This Java Exception is raised during an SSL/TLS Handshake and usually triggered by some incompatibility between the client and the server.

The possible incompatibilities typically are : TLS versions, Cipher Suites, Options, Certificate validation.

Once raised, the connection is no longer usable. If it follows a previous correctly established handshake, the Session Identifier is no more considered as correct.

529 questions
2
votes
0 answers

Android :Getting SSLHandshakeException. CertPathValidatorException when streaming audio using ExoPlayer

I am getting an exception while streaming the audio from the network using ExoPlayer javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Caused by:…
Kartheek
  • 7,104
  • 3
  • 30
  • 44
2
votes
1 answer

javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7fa6b56a00: Failure in SSL library, usually a protocol error

I'm running local server (an embedded https server inside an android app), which is using the .bks (self signed certificate type). When an android app is trying to connect using ssl, it give the following error. Here you can also see that the…
2
votes
0 answers

How to make Android app running on 7.0 compatible with server containing ECC certificate secp384r1

After updating our server with ECC certificate - secp384r1, our client app running on Android 7.0 could not establish communication with server but getting OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE exception. Doing some investigation it is…
2
votes
0 answers

How to debug SSLHandshakeException?

I have a Java desktop application with which I was able to successfully GET data from an API at an https URL. The client had their own PKI, and in my app, they entered their pki password and their path to their truststore and pki to run the app, and…
chocalaca
  • 330
  • 2
  • 17
2
votes
1 answer

Enable ECDHE ciphers With IBM JDK 6

Using IBM Rational® Software Architect for WebSphere Software Version: 9.0.0.1 with JDK 6 Trying to add ECDHE ciphers to the run time environment. at at…
Mike T
  • 93
  • 1
  • 2
  • 13
2
votes
4 answers

SSLHandshakeException when sending POST request via https

I tryed to send a POST request to a remote secure server ( https call). First i used the OkHTTP lib to make the call, as this lib worked to make http calls in a previous app, but with https it does not work anymore, see my previous post : Cannot…
2
votes
1 answer

Cannot download sitemap: SSLHandshakeException: Received fatal alert: handshake_failure

I am having trouble determining why a specific handshake is failing. I am unable to connect to a specific site and have been unable to determine the reason that it is failing. It is working on one of my servers, but not the other. My application…
2
votes
0 answers

Sending multiple sms in quick succession using Twilio

I am trying to send sms using twilio and django 1.8.2. I am facing a problem when there are multiple calls to send sms within the same function. This is the code snippet to send an sms to any particular phone number: def…
Outsider
  • 1,166
  • 1
  • 14
  • 27
2
votes
1 answer

SSL Handshake exception - RESTEASY004655

I am trying to figure out why am having this type of exception all over the log file!!!! Looking on some internet posts, apparently they talk about network interruption !!! javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request …
Bill
  • 205
  • 2
  • 3
  • 14
2
votes
1 answer

glassfish SSLHandshakeException: Received fatal alert: unknown_ca

I have to call a SOAP web service having client authentication over HTTPS. I have imported the client certificate (got from company hosting the server) into by keyStore file. I also imported server certificate (downloaded from server) into my…
Peter
  • 31
  • 1
  • 5
2
votes
2 answers

SSL config for outbound connections doesn't work in websphere-liberty 17.0.0.2

I'm trying to configure websphere-liberty server to use default keystore and trustore for all outbound connections (actually REST calls) and for inbound use a custom key and trust stores. But it fails with SSLHandshakeException when try to make a…
2
votes
1 answer

how to call Web Service with url which contains underscore

in my build.gradle I have some thing like that: productFlavors { dev { buildConfigField "String", "BASE_URL", '"https://uat_mobile.xxxxx.com/something/rest/json/"' } } the problem is when I try to call a WS I have this error which…
2
votes
2 answers

Jmeter: Response code: Non HTTP response code: javax.net.ssl.SSLHandshakeException

I have an application URL. I need to run login test using Jmeter. I recorded the login steps using blazemeter extension of chrome. But when I run it I get below error. I know there have been questions like this, I have tried few and it seems my case…
paul
  • 4,333
  • 16
  • 71
  • 144
2
votes
1 answer

HTTPS communication failed , jdk 1.6 (32 bit client) with jdk 1.8 (64 bit) server : READ: Unknown-3.3 Alert, length = 2

This is my first question of stackoverflow. I am trying HTTPS communication between two tomcats: Client Tomcat, using JDK1.6 32 bit. Server Tomcat, using JDK1.8 64 bit. Client Code for HTTPs request: HttpClient hc = new…
sss121522
  • 41
  • 5
2
votes
2 answers

PKCS#11 Smartcard getting error: javax.net.ssl.SSLHandshakeException due to java.security.InvalidKeyException: The RSA asymmetric cipher

Situation I am working on a project where we must get Smartcard to work in Linux. The card is by manufacturer Izenpe. I get an javax.net.ssl.SSLHandshakeException every time when I am doing SSL handshake with the server. I load the Izenpe driver…
WesternGun
  • 11,303
  • 6
  • 88
  • 157