HTTPS VS is failing with "Unrecognized SSL message, plaintext connection" message

book

Article ID: 143646

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

When a https Soap request is made against a https VS getting the below exception:

[SSL Handshake Summary] SEND TLSv1.2 ALERT:  fatal, description = unexpected_message [   2] [SSL Handshake Summary] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? [   2] [SSL Handshake Summary] Ensure that the server is secure (connecting to insecure server over SSL) and that you are connecting to the correct port [   1] Finalizer, called close() [   1] Finalizer, called closeInternal(true)

Cause

On same port HTTP and HTTPS Virtual Services are deployed and caused the issue.

Environment

Release : All supported DevTest environments

Component : CA Service Virtualization

Resolution

Changing the port number of the https VS which was giving the error should resolve the issue.

Note: Make sure you are not running multiple virtual services on the same port if some are http and some are https even the base path of the virtual services are different.