Hi Francois,
On Thu, Jun 21, 2007 at 07:24:48PM +0200, Hornoy Francois wrote:
>  I deployed the MathService example from the Gt4Book (and the website).
> 
>  I started the contained without the -nosec option. I can see the line: 
> [47]: 
> https://193.48.145.106:8443/wsrf/services/examples/core/first/MathService
> 
>  For the client, i launch: 
> java -classpath
> ./build/stubs/classes/:/home/fhornoy/Desktop/globus_location/lib/*:$CLASSPATH
> org.globus.examples.clients.MathService_instance.Client
> https://193.48.145.106:8443/wsrf/services/examples/core/first/MathService
> 
>  And i get the error: 
> unable to find valid certification path to requested target

I remember 2 things that could lead to this. One is that there is a
mismatch between the hostname in the certificate and in what the
container expects to be there. I had this when running on localhost,
because the certificates were created for the actual hostname, but the
container resolved the hostname as "localhost".

The second thing could be that your java needs to import and trust the
server's certificate. You can use the "keytool" provided by java for
this.

Let me know which one helped (if one does), because I did both at once
and now don't know the exact solution ;)

Ciao

Andreas

Attachment: signature.asc
Description: Digital signature

Reply via email to