Leo,

Thanks a lot. I am using the java ssl libraries so i set
javax.net.debug=all
(i also set proxy and prroxyhost settings to allow outgoing http/https
connections)
and got a bunch of information. basically, i get several pages of this:

> adding as trusted cert: [
> [
> ...
> ]
>   Algorithm: [MD2withRSA]
>   Signature:
> 0000: B6 00 1F 93 57 A4 07 A7   40 CE 65 40 3F 55 5E ED  [EMAIL PROTECTED]@?U^.
> ...
> ]
>

then it went to this :

> init context
> trigger seeding of SecureRandom
>

at which point it hangs.  now i have worked with SecureRandom
before, and I know they don't take hours to generate.  What is
the SecureRandom doing that could be causing this stall? are there
more debug properties that i can set to get more info?

thanks again,
-peter

Leo de Blaauw wrote:

>
>
> Hi,
>
> I would also switch on ssl debug in a case like this trough system
> property:
> javax.netl.debug=...  the value depends a litle on your ssl
> implementation, but
> for the sun ssl libraries it is:
>
> System.setProperty("javax.net.debug", "all");
>
> For ibm ssl the value should be true...
>
> Just run a litle test java program from a cmd line with this enabled.
>
> Greetings,
> Leo
>
> ps: who had his fair shair of ssl troubles....
>
> -----Oorspronkelijk bericht-----
> Van: peter anthony cowan [mailto:[EMAIL PROTECTED]
> Verzonden: vrijdag, maart 2004 6:20
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: Trouble with HTTPS/SSL and Axis
>
> so since i'm using java 1.4 i can just remove those three files from
> the
> classpath?
> (actually, they're in the tomcat boot and system jar directoriess)
>
> do i need to have a keystore in the system properties in order to do
> outgoing
> ssl connections with axis? or should an axis client just run via https
>
> so long as
> the correct libraries exist?
>
> thanks,
> -peter
>
> Charles Simon wrote:
>
> > This sounds like a mismatch or incomplete JAR files.
> >
> > First off if you are using Java 1.4 you do not need the separate SSL
>
> > stuff, its bundled in.
> >
> > If you are using 1.3 then you need to add the following JARs to your
>
> > client app's classpath.
> >    jsse.jar
> >    jcert.jar
> >    jnet.jar
> >
> > peter anthony cowan wrote:
> >
> > >When I attempt to run a SOAP client that goes to a secure
> > >destination (https), upon invoking the call object the program
> > >hangs.  No exceptions are cast, nothing happens at all, it just
> > >stalls indefinitely.  We are running the latest Axis along with
> > >Tomcat 4.04, behind the apache web server, which handles
> > >the SSL duties for tomcat.  I've checked to make sure we
> > >have jsse.jar, and we do.  I have done further testing and
> > >found that when attempting just to secure an SSLSocket
> > >Connection the same hanging problem ensues.  Does any
> > >one know what the problem is here?  How can I make java
> > >happy with these outgoing HTTPS connections?  Also note,
> > >we are not going to be running a WS Hosts, just clients. Any
> > >advice would be much appreciated.
> > >
> > >thanks,
> > >-peter
> > >[EMAIL PROTECTED]
> > >
> > >
> > >
> > >
>
> De informatie verzonden met dit e-mail bericht is uitsluitend bestemd voor de
> geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking
> van deze informatie aan derden is niet toegestaan.  Indien dit bericht niet voor u
> bestemd is, verzoeken wij u vriendelijk dit bericht te retourneren zodat dit in de
> toekomst kan worden voorkomen. Ondanks het feit dat IZA Nederland al haar e-mail
> berichten controleert op virussen, staat zij niet in voor het virusvrij verzenden 
> c.q.
> ontvangen van deze berichten.
>

Reply via email to