Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using Adobe Document Services (ADS) with SSL

Hi,

Hope any of you encountered a question like me while implementing ADS on NW04 SP16.

We've installed ADS and patched it to SP16_1. After wrote a dynpro application to run on portal. Everything is ok with HTTP. But if we access same application via HTTPS it reaises exceptions.

So tried to enable SSL for ADS. But question is, during "Creating the SSL User Credentials" section, I gave exactly same values for "Key and Certificate Generation" popup as SSL Certificate.

Country Name: US

State/Province: Some State

Locality Name: Some City

Organization Name: Some Customer

Organization Unit Name: Some Purchasing Unit

Common Name: *.<domain>

Also tried to add PFX Certificate used J2EE SSL Enabling via "Select CA Key".

All the other steps are followed as guide.

But when i tried to access application exception is raised and within security log following messages appear;

<b>#1.5#0011258C36F90053000000740000017C00041489D14E57F1#1148482061593#/System/Security/SecureConnectionFactory#sap.com/com.sap.engine.services.webservices.tool#com.sap.security.core.server.https.SecureConnectionFactory#Guest#0####409ba5a0eb3411dab5050011258c36f9#SAPEngine_Application_Thread[impl:3]_14##0#0#Warning#1#com.sap.security.core.server.https.SecureConnectionFactory#Plain###Attempting to create outgoing ssl connection without trusted certificates#

#1.5#0011258C36F90053000000750000017C00041489D14EDC64#1148482061625#/System/Security/SecureConnectionFactory#sap.com/com.sap.engine.services.webservices.tool#com.sap.security.core.server.https.SecureConnectionFactory#Guest#0####409ba5a0eb3411dab5050011258c36f9#SAPEngine_Application_Thread[impl:3]_14##0#0#Warning#1#com.sap.security.core.server.https.SecureConnectionFactory#Plain###Attempting to create outgoing ssl connection without trusted certificates#

#1.5#0011258C36F9005D000000640000017C00041489D1F1D4A1#1148482072296#/System/Security/SecureConnectionFactory#sap.com/com.sap.engine.services.webservices.tool#com.sap.security.core.server.https.SecureConnectionFactory#Guest#0####47018680eb3411daa68e0011258c36f9#SAPEngine_Application_Thread[impl:3]_28##0#0#Warning#1#com.sap.security.core.server.https.SecureConnectionFactory#Plain###Attempting to create outgoing ssl connection without trusted certificates#

#1.5#0011258C36F9005E000000690000017C00041489D1F20CDF#1148482072312#/System/Security##com.sap.engine.services.security#Guest#0####4703f780eb3411dabce30011258c36f9#SAPEngine_Application_Thread[impl:3]_1##0#0#Warning#1#com.sap.engine.services.security#Plain#Obsolete options passed to ClientCertLoginModule. Please fix policy configurations!###

#1.5#0011258C36F9005E0000006A0000017C00041489D1F20DDC#1148482072312#/System/Security##com.sap.engine.services.security#Guest#0####4703f780eb3411dabce30011258c36f9#SAPEngine_Application_Thread[impl:3]_1##0#0#Info#1#com.sap.engine.services.security#Plain#No certificate provided.###

</b>

default.trace contains following error regarded to this action;

<b>#1.5#0011258C36F90051000000570000017C00041489C95BFEE4#1148481928265#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#abilgen#156##temepdev_EPD_2848050#abilgen#e76f2010eb3311daabea0011258c36f9#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.

Request start time: Wed May 24 17:45:28 EEST 2006

com.adobe.ProcessingError: Unspecified error writing stream: <Render><Template><Name> "https://temepdev:50001/webdynpro/dispatcher/local/PDF_Yaratma/PDF_YaratmaApp/wd_keyh4Zpt9jZYSMW3rbDpbrYOw==/sapwebdynpro.xft;jsessionid=(J2EE2848000)ID1536692150DB10742250613064796742End;saplb_*=(J2EE2848000)2848050?sap.session.download=4&sap-wd-cltwndid=e76f2011eb3311daccf20011258c36f9&sap-wd-appwndid=Ide76f2011eb3311daccf20011258c36f912&sap-wd-norefresh=true :

java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

Exception Stack Trace:

com.adobe.ProcessingError: Unspecified error writing stream: <Render><Template><Name> "https://temepdev:50001/webdynpro/dispatcher/local/PDF_Yaratma/PDF_YaratmaApp/wd_keyh4Zpt9jZYSMW3rbDpbrYOw==/sapwebdynpro.xft;jsessionid=(J2EE2848000)ID1536692150DB10742250613064796742End;saplb_*=(J2EE2848000)2848050?sap.session.download=4&sap-wd-cltwndid=e76f2011eb3311daccf20011258c36f9&sap-wd-appwndid=Ide76f2011eb3311daccf20011258c36f912&sap-wd-norefresh=true :

java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

at com.adobe.Render.execute(Unknown Source)

at com.adobe.BaseADSRequest.doWork(Unknown Source)

at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)

at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1174)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:407)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

#

#1.5#0011258C36F90051000000590000017C00041489C95C063B#1148481928265#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#abilgen#156##temepdev_EPD_2848050#abilgen#e76f2010eb3311daabea0011258c36f9#SAPEngine_Application_Thread[impl:3]_11##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.

The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.

Request start time: Wed May 24 17:45:28 EEST 2006

com.adobe.ProcessingError: Unspecified error writing stream: <Render><Template><Name> "https://temepdev:50001/webdynpro/dispatcher/local/PDF_Yaratma/PDF_YaratmaApp/wd_keyh4Zpt9jZYSMW3rbDpbrYOw==/sapwebdynpro.xft;jsessionid=(J2EE2848000)ID1536692150DB10742250613064796742End;saplb_*=(J2EE2848000)2848050?sap.session.download=4&sap-wd-cltwndid=e76f2011eb3311daccf20011258c36f9&sap-wd-appwndid=Ide76f2011eb3311daccf20011258c36f912&sap-wd-norefresh=true :

java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

Exception Stack Trace:

com.adobe.ProcessingError: Unspecified error writing stream: <Render><Template><Name> "https://temepdev:50001/webdynpro/dispatcher/local/PDF_Yaratma/PDF_YaratmaApp/wd_keyh4Zpt9jZYSMW3rbDpbrYOw==/sapwebdynpro.xft;jsessionid=(J2EE2848000)ID1536692150DB10742250613064796742End;saplb_*=(J2EE2848000)2848050?sap.session.download=4&sap-wd-cltwndid=e76f2011eb3311daccf20011258c36f9&sap-wd-appwndid=Ide76f2011eb3311daccf20011258c36f912&sap-wd-norefresh=true :

java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

at com.adobe.Render.execute(Unknown Source)

at com.adobe.BaseADSRequest.doWork(Unknown Source)

at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

</b>

Former Member
Not what you were looking for? View more on this topic or Ask a question