I’m getting this exception when calling a java function from matlab, the function runs fine in eclipse:
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();
I’ve matlab 2011a installed.
I’ve also changed the jvm of matlab to the latest jre6.4 but it’s still giving me this error
I’ve also tried changing the cacerts file but no success.
Any Ideas? I’ll be very gratefull
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