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:
- Recycle the host operating system hosting the Pega server.
- Run the SOAP connect wizard to generate the new connect rule.
Published August 8, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.