tomcat, ssl, java, and creating a secure socket

i've been trying to create a secure connection from my server to my credit card processor (authorize.net), and i just can't get it working. i have an ev1 quickssl cert, and am using the following code in my servlet:

URL url = new URL("https://secure.authorize.net/gateway/transact.dll?...");
URLConnection conn = url.openConnection();
InputStream in = conn.getInputStream();

at which point i get the following exception:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

does this ring any bells?
there must be some magical incantation...

daniel

 

 

 

 

Top