Question
JK Technosoft
IN
Last activity: 6 Jul 2017 11:22 EDT
Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Same REST Service is working fine in SOAP UI but in Pega 7.2.1 getting the below exception.
Same REST Service is working fine in SOAP UI but in Pega 7.2.1 getting the below exception.
[MSG][Exception][STACK][com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.step6_circum0(ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.java:1811) at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.perform(ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.java:154) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pegarules.generated.activity.ra_action_invoke_4dc028ab25da14c2d6798b84993f966a.step7_circum0(ra_action_invoke_4dc028ab25da14c2d6798b84993f966a.java:1002) at com.pegarules.generated.activity.ra_action_invoke_4dc028ab25da14c2d6798b84993f966a.perform(ra_action_invoke_4dc028ab25da14c2d6798b84993f966a.java:172) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pegarules.generated.activity.ra_action_pxcallconnector_1c9eac5d7f1029d7d559dcda227edab8.step9_circum0(ra_action_pxcallconnector_1c9eac5d7f1029d7d559dcda227edab8.java:1552) at com.pegarules.generated.activity.ra_action_pxcallconnector_1c9eac5d7f1029d7d559dcda227edab8.perform(ra_action_pxcallconnector_1c9eac5d7f1029d7d559dcda227edab8.java:226) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runRule(DeclarativePageDirectoryImpl.java:1010) at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runLoadActivity(DeclarativePageDirectoryImpl.java:437) at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.loadDataPage(ReadOnlyDataPageHandler.java:241) at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:412) at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:936) at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDataPageByInsKey(ThreadPageDir.java:755) at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getDataPageByInsKey(PRThreadImpl.java:2282) at com.pega.pegarules.session.internal.mgmt.Executable.findDataPageByInsKey(Executable.java:10844) at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_4cf67ca49e0ca77259de7dc6db487f02.step5_circum0(ra_action_pyrunrecordexecute_4cf67ca49e0ca77259de7dc6db487f02.java:525) at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_4cf67ca49e0ca77259de7dc6db487f02.perform(ra_action_pyrunrecordexecute_4cf67ca49e0ca77259de7dc6db487f02.java:161) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674) at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.step11_circum0(ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.java:1009) at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.perform(ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.java:245) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527) at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:467) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3166) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390) at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893) at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331) at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:825) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:247) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:595) at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:391) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121) at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) at com.pega.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:398) at com.pega.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:496) at com.pega.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62) at com.pega.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at com.pega.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at com.pega.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at com.pega.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573) at com.pega.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425) at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:825) at com.pega.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:759) at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.step6_circum0(ra_action_pyinvokerestconnector_e8e118414a520bb18367337b0b748d90.java:1328) ... 74 more ]
***Moderator Edit: Vidyaranjan | Converted from discussion to question***