axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coffman, Bill" <>
Subject Couldn't find trusted certificate
Date Tue, 16 Dec 2003 03:16:04 GMT


I am new to AXIS, and even pretty new to Java.  My goal is to write a
soap client that connects to a url over https, with a certificate.
Having lot's of trouble with that, I am attempting to simply connect to
a basic HTTPS server.  The sample code from jsse1.0.3_02 gives a
URLReader example, that doesn't work with my system.  I get the infamous
"Exception in thread "main"
Couldn't find trusted certificate" error.  The code is below:




public class URLReader {

    public static void main(String[] args) throws Exception {

        URL verisign = new URL("");

        BufferedReader in = new BufferedReader(

                                new InputStreamReader(



        String inputLine;


        while ((inputLine = in.readLine()) != null)







My compiler is j2sdk1.4.0, and interpreter is j2re1.4.0.


Now, if I change the URL to
<> , (note the http, and not https) the program
works!  Inspite of the fact paypal will not send any unencrypted html.
It forwards, via 302 code, to https, and then in fact prints out the
https code that I request.  I am not even trying to use a certificate
here, but still get this message.


I would appreciate any help.  Please also reply to my email address: as I have having some issues receiving the mail,
even though I am subscribed.




Bill Coffman 

Senior Software Engineer, QA 

PayPal, an ebaY Company 


View raw message