Question
1
Replies
1900
Views
Infosys Limited
Posted: June 27, 2018
Last activity: June 29, 2018
Closed
Solved
** Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Hi,
We are seeing below error in pyInvokeRESTConnector(Pega-IntegrationEngine : 06-02-20) activity Step 5 on Pega V6.2 SP2
** Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Kindly advice.
Thanks
Kaushik
***Updated by moderator: Lochan to update platform capability***
This issue could be due to defect/misconfiguration in the operating environment.
"pyInvokeRestConnector" activity was setting the SSL protocol to SSL when the service expected a TLS protocol during the SSL handshake.
Note:- Connect-REST rule has been enhanced in Pega 7.1.8 where you, as an application developer, can pass in the SSL protocol at PRPC level.
Suggestion:
Override the pyInvokeRestConnector activity into the local ruleset. Modify Java code in Step 4,
Change the following line:
String protocol = "SSL"; TO String protocol = "TLS";
Note:- This issue is fixed in Pega 7.1.8.
Reference:- Restful services fail with SSLPeerUnverifiedException.
If it didn't get resolved with above changes,
Do you have enabled DSS https/allowAllHostnames? Try disabling and re-run the use-case.
Still, if it's not working enable following JVM argument -Djavax.net.debug=all and provide us with the server logs.
Reference:- javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
#3 Solution
SSLPeerUnverifiedException for Connect-Rest
Hope either of three resolves the reported issue at your end. Kindly acknowledge, if it resolves by marking this post as answered.
Regards,
Asif