Exception: Server chose TLSv1, but that protocol version is not enabled or not supported by the client.

book

Article ID: 6868

calendar_today

Updated On:

Products

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

Issue/Introduction

Virtual service throws the below exception, when it hits the live endpoint.

============================================================================ 

| javax.net.ssl.SSLHandshakeException: Server chose TLSv1, but that protocol version is not enabled or not supported by the client. 

============================================================================ 

| Step: Virtual HTTPS Live Invocation 443 

---------------------------------------------------------------------------- 

 

Cause

DevTest 10.x supports Java 8 and TLSv1.2 is not enabled by default.

Environment

DevTest 10 and up

Resolution

Configuring "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" in VSE vmoptions will resolve the issue. 

Additional Information

. DevTest versions compatibility with TLSv1.2 - https://communities.ca.com/docs/DOC-231174946

.