mercredi 18 février 2015

SSLException while accessing rest web services


Vote count:

0




I have a requirement to access a https URL on startup of my server using jax-rs to get some unique session key. However, once the session is expired i will again fire the hit to this URL and get my session key back.


I noticed that while I send the request to get the expired session back, I get this error.



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


In this scenario if I start my server, I am all good with my session key back. Please advise how to analyze this issue and how can I reproduce this issue as required to handle exception well in the code.



asked 43 secs ago







SSLException while accessing rest web services

Aucun commentaire:

Enregistrer un commentaire