Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

which SSL scenario does APS require..?

Avatar

Former Community Member
Hi all,<br /><br />i'm writing java code in order to create a connection to the policyserver and make different tasks. i started following the documentation, but i have a problem with ssl, as when i try to reach the https page, i get this errors:<br /><br />b "com.adobe.edc.sdk.SDKException: Exception connecting to the Server -- An error occured while performing this operation(error code bin: 1, hex: 0x1)<br /> at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:78)<br /> at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:88)<br /> at com.adobe.edc.sdk.EDCFactory.connect(EDCFactory.java:190)<br /> at it.softwareAdv.connettoreAPS.connettoreAPS(connettoreAPS.java:90)<br /> at it.softwareAdv.Aps.main(Aps.java:15)<br />Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document: <br />javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetFine connessione!<br /><br /> at org.apache.axis.client.Service.initService(Service.java:239)<br /> at org.apache.axis.client.Service.<init>(Service.java:154)<br /> at com.adobe.edc.sdk.impl.soap.SOAPClientFactoryImpl.makeService(SOAPClientFactoryImpl.java:218)<br /> at com.adobe.edc.sdk.impl.soap.SOAPClientFactoryImpl.<init>(SOAPClientFactoryImpl.java:93)<br /> at com.adobe.edc.sdk.EDCFactory.connect(EDCFactory.java:187)<br /> ... 2 more"<br /><br />i'm using SOAP, and i prepared jboss to follow this case:<br />http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup<br /> * 1 - SSL enabled on the server - the common case<br /><br />when i try to connect to the page without using certification it succeds, but i need to use SSL.. :(
0 Replies