Posted: 19 Aug 2020 11:48 EDT Last activity: 25 Aug 2020 1:43 EDT
Connect REST fails when added authentication/TLS/SSL to PegaMKTContainer
We need to add authentication to OOTB REST Services in PegaMKTContainer service package. To do that, I selected Basic authentication and checked 'Requires TLS/SSL for REST services in this package'. I could check that services are working well when I call them directly using Postman.
If I go to ConnectContainer (Connect REST rule in Int-PegaCDH-Container class, PegaMKT-Integration:08-01-01 ruleset) and click in ‘Test Connectivity’, I get this message: 'Use of TLS/SSL is required'. This connector was working before service package modification.
If I save ConnectContainer to one of my rulesets and update the 'Provide URL' using https, and I click again in ‘Test Connectivity’, I get this other message: 'com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?'
Can anyone guide me how to make ConnectContainer (NBA Advisor connector) to work properly calling my updated PegaMKTContainer?
Normally this means that your endpoint is not https based. You should try to access the endpoint outside Pega (e.g., using Postman or curl command as a rest client) to see if the issue is Pega related or not.