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.
Posted: 2 years ago
Posted: 24 Aug 2020 2:32 EDT
Ramon de la Campa Fernandez (Ramond65)