Hello Top devs,
I am struggling with a piece of
java code, where is I am trying to connect to JNDI via SSL. Below is the snippet. Java run-time version is 1.7.0_09-b05
The error message I have is ...
Error while dispatching the message to the process starter: javax.jms.JMSSecurityException, Failed to initialize SSL client: java.lang.IllegalArgumentException: Invalid trust roots
javax.jms.JMSSecurityException: Failed to initialize SSL client: java.lang.IllegalArgumentException: Invalid trust roots
I am sure that the certificate with extension .cert is working fine by other clients like .net, etc...
Please help me, if there is any issue with the code.
Thanks in Advance.
Raj