Expand my Community achievements bar.

SSL Exception consuming the REST Service

Avatar

Level 3

Am trying to consume the REST webservice from java bundle, am gettign the following exception

javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

            at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

            at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)

 

Does any one faced this issue ? 

Verified 'Apache Felix Jetty Based Http Service' OSGI config , truststore feild is empty, is this creating any issue ?

1 Reply

Avatar

Level 10

Can you successfully consume the web service from outside of AEM via Java? Looks like a Java web service issue - not an AEM issue.