Question
Incessant Technologies
US
Last activity: 9 Feb 2017 6:38 EST
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Hi,
I am facing this exception when a REST Service is inokved. We are using pega 7.2 version.
Can anybody help me on this?
***Updated by moderator: Lochan to update Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Kishore,
Please have a look into the following PDN article and see if it helps.
https://community.pega.com/support/support-articles/restful-services-fail-sslpeerunverifiedexception.
Also refer the below link for similar discussion.
https://collaborate.pega.com/question/we-are-getting-following-error-while-invoking-rest
Incessant Technologies
US
Thanks othos.
Sure i will follow in those groups.
Pegasystems Inc.
IN
Hello Kishore ,
SSL peer unverified exception can caused by multiple reasons .
Are you using oneway SSL or twoway SSL ?.
Which application server your using ?
What is the PRPC version used at your end ?
Is the certificates are working before ?
Have you imported the certificates to trust store ?
Provide us the complete stack trace of this exception to have a look into the issue .
Thanks,
Arun
Incessant Technologies
US
Hi Arun,
We are using TLSv1.2 protocol.Am not sure about 1 way or 2 way SSL.
We don't have any certificates as such for current service which i found issue with.
And server we are using is Tomcat. and we are using Pega 7.2 version.
Hi Arun,
We are using TLSv1.2 protocol.Am not sure about 1 way or 2 way SSL.
We don't have any certificates as such for current service which i found issue with.
And server we are using is Tomcat. and we are using Pega 7.2 version.
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:1771)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.perform(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:154)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:1002)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.perform(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:172)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.step10_circum0(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:1664)
at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.perform(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:246)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
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:246)
at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:430)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:924)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.getDirectPage(AbstractPageDirectory.java:717)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDirectPage(ThreadPageDir.java:471)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:429)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:421)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getPage(PRThreadImpl.java:539)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2169)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2113)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.resolveEmbeddedPages(PropertyReferenceImpl.java:1789)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1368)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1348)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1332)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.get(PropertyReferenceImpl.java:1168)
at com.pega.pegarules.session.internal.mgmt.Executable.getProperty(Executable.java:2304)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getProperty(StreamToolsImpl.java:821)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getValue(StreamToolsImpl.java:883)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getStringValue(StreamToolsImpl.java:966)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.compareTo(StreamToolsImpl.java:1164)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.equalsConditional(StreamToolsImpl.java:1192)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateSide(StreamToolsImpl.java:1375)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.orConditional(StreamToolsImpl.java:1479)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.multipleCondition(StreamToolsImpl.java:1499)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateCondition(StreamToolsImpl.java:1533)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateWhen(StreamToolsImpl.java:1627)
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.evaluateWhen(AutoStreamRuntimeImpl.java:1019)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.generateClientWhenDiv_2(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26012)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.simpleLayoutCell_2(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26172)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.simpleLayout_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26206)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzLayoutBodyWrapper_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26000)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzLayout_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26226)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzSectionBody_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:794)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.execute(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:103)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4043)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3871)
at com.pegarules.generated.html.ra_stream_reloadsection_001d5c66ba807400c0ecb484e9d2fe6f.execute(ra_stream_reloadsection_001d5c66ba807400c0ecb484e9d2fe6f.java:192)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4043)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3871)
at com.pega.pegarules.pub.runtime.AbstractActivity.showHtml(AbstractActivity.java:247)
at com.pegarules.generated.activity.ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.step8_circum0(ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.java:900)
at com.pegarules.generated.activity.ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.perform(ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.java:188)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:466)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3093)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor80.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:1277)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:848)
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:817)
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:574)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)
at sun.reflect.GeneratedMethodAccessor75.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 javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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:220)
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:436)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
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_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:1296)
... 103 more
2017-02-08 13:40:00,465 [ ajp-apr-8009-exec-8] [TABTHREAD0] [ ] [ EAOSApp:01.01.01] (nvoke.Rule_Connect_REST.Action) ERROR kmittapalli - com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
2017-02-08 13:40:00,465 [ ajp-apr-8009-exec-8] [TABTHREAD0] [ ] [ EAOSApp:01.01.01] ( internal.mgmt.Executable) ERROR kmittapalli - Exception
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:1771)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.perform(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:154)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:1002)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.perform(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:172)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.step10_circum0(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:1664)
at com.pegarules.generated.activity.ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.perform(ra_action_pxcallconnector_11f2ec27fb0b16bb79951eb7d74cbe15.java:246)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
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:246)
at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:430)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:924)
at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.getDirectPage(AbstractPageDirectory.java:717)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDirectPage(ThreadPageDir.java:471)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:429)
at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:421)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getPage(PRThreadImpl.java:539)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2169)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getTopPage(PropertyReferenceImpl.java:2113)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.resolveEmbeddedPages(PropertyReferenceImpl.java:1789)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1368)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1348)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGet(PropertyReferenceImpl.java:1332)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.get(PropertyReferenceImpl.java:1168)
at com.pega.pegarules.session.internal.mgmt.Executable.getProperty(Executable.java:2304)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getProperty(StreamToolsImpl.java:821)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getValue(StreamToolsImpl.java:883)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.getStringValue(StreamToolsImpl.java:966)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.compareTo(StreamToolsImpl.java:1164)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.equalsConditional(StreamToolsImpl.java:1192)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateSide(StreamToolsImpl.java:1375)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.orConditional(StreamToolsImpl.java:1479)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.multipleCondition(StreamToolsImpl.java:1499)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateCondition(StreamToolsImpl.java:1533)
at com.pega.pegarules.generation.internal.stream.StreamToolsImpl.evaluateWhen(StreamToolsImpl.java:1627)
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.evaluateWhen(AutoStreamRuntimeImpl.java:1019)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.generateClientWhenDiv_2(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26012)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.simpleLayoutCell_2(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26172)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.simpleLayout_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26206)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzLayoutBodyWrapper_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26000)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzLayout_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:26226)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.pzSectionBody_1(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:794)
at com.pegarules.generated.html_section.ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.execute(ra_stream_mcrmainscreen_4e423c52e19bc629378e02184ef06a4a.java:103)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4043)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3871)
at com.pegarules.generated.html.ra_stream_reloadsection_001d5c66ba807400c0ecb484e9d2fe6f.execute(ra_stream_reloadsection_001d5c66ba807400c0ecb484e9d2fe6f.java:192)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4043)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3871)
at com.pega.pegarules.pub.runtime.AbstractActivity.showHtml(AbstractActivity.java:247)
at com.pegarules.generated.activity.ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.step8_circum0(ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.java:900)
at com.pegarules.generated.activity.ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.perform(ra_action_reloadsection_2fa9990d2c3a50dc1363126cee2ec1a1.java:188)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:466)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3093)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor80.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:1277)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:848)
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:817)
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:574)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)
at sun.reflect.GeneratedMethodAccessor75.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 javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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:220)
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:436)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
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_1df02d5a96ad215dc3e7350d2a9c98bf.step6_circum0(ra_action_pyinvokerestconnector_1df02d5a96ad215dc3e7350d2a9c98bf.java:1296)
... 103 more
Pegasystems Inc.
IN
Hello Kishore ,
Can you please follow below article and let us know if it helps .
Thanks,
Arun
Pegasystems Inc.
IN
Hi Kishore,
PeernotAuthenticated exception will involves multiple issues. To get to know the exact cause, need to add below JVM argument while startup and get the server logs. There ssl handshake information will print.
-Djavax.net.debug=ssl:handshake:data
Thanks,
Aruna Pyla
Pegasystems Inc.
GB
@KishoreKumarM3328 - I agree with 'pylaa' here: the SSL DEBUG logs will show the picture more clearly; trouble-is the SSL debug logs are very verbose; so I think you need to find out more about the requirements of the endpoint in question here.
- for instance when you say:
Am not sure about 1 way or 2 way SSL
You need to get somebody who can tell you this for sure - 2-way SSL implies approximately twice the complexity needed for configuration. (You need two Certificates, two keypairs etc. : one on server, one on client).
Have you got an example of another (non-prpc) client that IS able to use this remote endpoint ?
Perhaps even just a browser ? (Can you point your browser at the endpoint ? Do you get any Certificate errors/ warning in that situation ?)