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
6
votes
6 answers

Intellij IDEA License Activation (SSLHandshakeException)

I'm trying to active Intellij IDEA (14) with my educational license under Ubuntu-gnome (15.4) getting an SSLHandshakeException: JetProfile connection error: SSLHandshakeException: java.security.cert.CertificateException:…
barfoos
  • 706
  • 2
  • 12
  • 26
6
votes
1 answer

SSLHandshakeException while connecting to a https site

I am trying to record a https site through jmeter (version 2.13, java version - 1.8u31) and I am getting SSLHandshakeException while connecting to a https site. The error message is javax.net.ssl.SSLHandshakeException: Received fatal alert:…
Andy Dufresne
  • 6,022
  • 7
  • 63
  • 113
5
votes
2 answers

Accepting certificates in Java

I'm having problems interacting with an HTTPS site via Java. My program uses one URL with an untrusted certificate each time the program runs. This program has to run on more than one system. Currently, I have the following: public class A{ …
ms1013
  • 1,725
  • 2
  • 14
  • 16
5
votes
0 answers

How to get Trust anchors to work properly on Android API levels 16-19

I am working on a project that has to support back to API level 16 and requires me to make network calls to dynamic URLs. The issue I am having is that the server recently had to update the TLS to 1.2 for PCI compliance, which by default is disabled…
PGMacDesign
  • 6,092
  • 8
  • 41
  • 78
5
votes
2 answers

Java 8 https connection fails on some sites

I cannot access some of https resources. Please help to make https calls reliable. Examples I put here tested from Firefox browser, to ensure they are works properly. $ java -version openjdk version "1.8.0_121" OpenJDK Runtime Environment (build…
P_M
  • 2,723
  • 4
  • 29
  • 62
5
votes
5 answers

jenkins pluginManager 'Check Now' 'unable to find valid certification' error

I just installed a new jenkins 2.77 instance on my Windows machine, running Java 1.8.0 #60. I was expecting there to be some default plugins but it seems like none were installed when the instance was created. When I go to check the available…
kraftydevil
  • 5,144
  • 6
  • 43
  • 65
5
votes
1 answer

Android SSL Handshake Failed when connecting to a web service using HTTPS

My Android app connects to a web service on my server. Everything worked fine yesterday, but today I got the error. I didn't make any changes to the web service, nor to the app. I suspect it's something wrong with my server, but don't know where to…
Shawn
  • 2,675
  • 3
  • 25
  • 48
5
votes
1 answer

What are the security consequences of setting "jsse.enableSNIExtension" to false?

I currently have an application that would make HTTP post request to a lot of URLs. Some of the connections are failing with the following exception. Exception in thread "main" javax.net.ssl.SSLProtocolException: handshake alert: …
Keen Sage
  • 1,899
  • 5
  • 26
  • 44
5
votes
3 answers

SSLHandshakeException: No cipher suites in common - spray-can SSL configuration

I'm trying to install my SSL certificate I acquired for my domain from Comodo but am getting a SSLHandshakeException: No cipher suites in common I've read through the multiple questions on this topic but none of the proposed answers have helped me…
Upio
  • 1,364
  • 1
  • 12
  • 27
5
votes
1 answer

BIO_do_handshake() always return 0

int rtn = BIO_do_handshake(sbio); printf("\n.. returns %d .. \n",rtn); if( rtn <= 0) { fprintf(stderr, "Error in SSL handshake\n"); ERR_print_errors_fp(stderr); } I write this code from here but the BIO_do_handshake() always …
TamiL
  • 2,706
  • 4
  • 24
  • 44
4
votes
1 answer

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 anymore. I have the following…
4
votes
3 answers

Kubernetes: x509 certificate signed by unknown authority, possibly because of ECDSA verification failure

I am new in Kubernetes and stuck on the issue. I was trying to renew letsencrypt SSL certificate. But when I try to get certificate by running following command kubectl get certificate System throwing this exception Error from server: conversion…
4
votes
1 answer

TLS 1.2 Client Hello failure

I have a Java app that I use to automate pulling down data from NOAA. It has worked fine up to this week when it suddenly failed on the TLS handshake. Looking at the debug trace it is receiving a fatal alert from the server on the initial Client…
ScottW
  • 41
  • 1
  • 2
4
votes
1 answer

Java SSL communication handshake failure with openjdk 1.8

I have a java program that is using RESTTemplate talking to a service. I am using client certificate for communicating with server. Getting following error main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert:…
Milind
  • 531
  • 2
  • 12
  • 24
4
votes
1 answer

How to fix "SSLHandshakeException" while using Spring RestTemplate with a self-signed certificate

I am trying to call a REST Api (https, secured with self-signed certificate) with a Java client using Spring's RestTemplate. When I try using Postman, it is successful. I have a crt file and a private key file. I define them in Postman…