SSL Exception consuming the REST Service

chandran8596539

13-12-2016

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

jantzen_belliston-Adobe

Community Manager

13-12-2016

Hi,

Can you tell me which product you are trying to use the API for? Currently, your post is under the DTM section of this community. DTM does not have an API that can be used to make changes. Once I know which product you're trying to access, I can move your post to the correct section of the community.

 

Cheers,
Jantzen

Answers (2)

Answers (2)

jantzen_belliston-Adobe

Community Manager

13-12-2016

No problem 🙂
 

I just wanted to ensure your question had the best visibility. Since you've already posted in the AEM forums, I'll just resolve this question here rather than move it. Thanks for stopping by the Activation community.