search cancel

Staging a test case and getting error: javax.net.ssl.SSLHandshakeException: Remote host connection during handshake

book

Article ID: 7732

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

Installed in a Unix server and trying to add a second server in a secure zone. 

Getting handshake JAVA handshake exception message between servers:

javax.net.ssl.SSLHandshakeException: Remote host connection during handshake 

Cause

Server is expecting a handshake with TLSv1.2, so this is why the error. 

 

Environment

All Supported DevTest releases and platforms.

Resolution

Added this property in the local.properties file of where the Simulator is running: 

https.protocols=TLSv1.2,TLSv1.1,TLSv1 

 

Restarted the Simulator Service. 

The test now connects to the Server with the accepted SSL protocol.

Additional Information

Diagnosing TLS, SSL, and HTTPS

How to Analyze Java SSL Errors