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

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

book

Article ID: 143646

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

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)

Environment

Release : All supported DevTest environments

Component : CA Service Virtualization

Cause

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

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.