I am calling java function from matlab. The function is running fine in eclipse but when I call in from matlab I get this exception:
java.io.IOException: The issuer can not be found in the trusted CA list.
The exception occurs at the second line:
URLConnection Conn = URL("https://www.google.com/accounts/ServiceLoginBoxAuth").openConnection();
Conn.getInputStream();
Why is it so? Any solution?
If you use the java’s URL class in matlab you would have to pass the handler.
I used this constructor:
and it worked fine.
Note: sun.net.www.protocol.https.Handler is only available in matlab