Support Article

javax.net.ssl.SSLException: Unrecognized SSL message

SA-39492

Summary



User is having trouble connecting to the client's REST API.

When running the REST connector in Pega user gets following error.

The Pega instance is connecting through a VPN tunnel into the client's network. The API does not have a publicly accessible URL. Pega support has configured the host machine's hosts file to resolve the URL.


Error Messages


** Caught unhandled exception: java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?


Steps to Reproduce



Run the Test connection in the connect SOAP rule or the activity which invokes the connect SOAP rule.


Root Cause



A defect or configuration issue in the operating environment.

The end point host resolution from the /etc/hosts file is not taking into effect. After updating the host machine's hosts file, the host machine was not recycled.

Resolution



Perform the following local-change steps:
  1. Recycle the host operating system hosting the Pega server.
  2. Run the SOAP connect wizard to generate the new connect rule.

Published June 15, 2017 - Updated August 8, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.