OK, I think i am one step close to the solusion. I have both server and client certificate, do I copy both files to $JAVA_HOME/jre/lib/security/cacerts directory?

Thanks for your help!



From: "PARLEY,THUNDER (HP-MountainView,ex1)" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: SSL web services
Date: Tue, 30 Sep 2003 15:59:57 -0400


Hi Henry,

The short answer to your question is: yes (long answer follows)

If you signed your own server cetificate, it is probably not in the client
VMs trusted keystore which is by default in
$JAVA_HOME/jre/lib/security/cacerts

So...

1. Get your server certificate signed.
2. Add your server as a trusted authority.

See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
for lots of good SSL client/server setup and configuration information.

--Thunder



-----Original Message-----
From: Henry lu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: SSL web services


I tried and i got different error this time:


Exception:: javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateE
xception: Couldn't find trusted certificate

any idea?


>From: Massimo Barabino <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: SSL web services
>Date: Tue, 30 Sep 2003 16:43:09 +0200
>
>Henry lu wrote:
>
>>Thank you very much, Mr. Smith! It works! Now I have another question for
>>you.
>>
>>How to deploy a web services to a ssl server? Here is what i did:
>>
>>C:\java_dev\web_services\ex1\srv>java org.apache.axis.client.AdminClient
>>-p8443
>>deploy.wsdd
>>Processing file deploy.wsdd
>>Exception:: java.lang.NumberFormatException: For input string: ""
>>
>>do you know how to fix?
>>
>>
>Hi,
>try
>org.apache.axis.client.AdminClient -l https://Path
>_To_Axis_Servlet:your_port your_wsdd_file
>This worked for me.
>
>Massimo Barabino
>
>


_________________________________________________________________
High-speed Internet access as low as $29.95/month (depending on the local
service providers in your area). Click here.   https://broadband.msn.com


_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




Reply via email to