Question
ING Netherlands
IN
Last activity: 29 Mar 2017 0:27 EDT
How to get rid of “javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated” Exception for REST Service Invoke
We are trying to invoke the REST API resource path by POST method.
But using SOAP UI we were getting the error : “SSL handshake exception remote host closed connection during handshake” ; After some research, we have added “-Dsoapui.https.protocols=SSLv3,TLSv1.2” in VMOPTIONS file of SOAP UI bin directory which resolved the issue.
Now we are trying to invoke it by PEGA REST connector (using TOMCAT app server) but we are getting the same fatal exception : “javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated”.
Please help us to understand what change we need to do in TOMCAT server directory to include SSL or TLS versions or any other solution available.