javax.net.ssl.SSLException: Unrecognized SSL message
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.
** 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.
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.
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.