You need to specify the location of the Trustore that you have created via
the javax.net.ssl.trustStore system property (and the trustore password, if
any, via the system property javax.net.ssl.trustStorePassword).

If you don't specify the the above system properties, then JSSE will search
for a trusted certificate in the default trustore that ships with the jdk
(<java_home>/lib/security/cacerts). So you can simply import your
certificate via the keytool utility in cacerts. (I'm assuming you are using
a self-signed certificate that you have created).

- Junaid



                                                                                       
                                                
                      "Sean"                                                           
                                                
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>    
                                                
                      >                        cc:                                     
                                                
                                               Subject:  deploy on https               
                                                
                      10/11/2002 03:31                                                 
                                                
                      PM                                                               
                                                
                      Please respond to                                                
                                                
                      axis-user                                                        
                                                
                                                                                       
                                                
                                                                                       
                                                




How can I deploy an axis web service using https protocol on port 443.

I've successfully deployed the same service using http across port 80. When
I try to deploy it using:

> java
org.apache.axis.client.AdminClient
-lhttps://<hostname>:443/services/AdminServic
e deploy.wsdd

It throws javax.net.ssl.SSLHandshakeException: Couldn't find trusted
certificate
Which makes sense because the AdminClient doens't have any knowlege of the
certificate that I created.
How can I make the AdminClient aware of the self-signed JSSE keystore that
I
created, so I can
deploy the service across https?

https://<hostname>/ is responding and the axis server is happily running
(i.e.
happyaxis.jsp).

I'm using:
Resin 2.1.2
JDK 1.4
JSSE 1.0.3
Axis 1.0

Thanks in advance,
Sean Moore
Emazing Inc.











Reply via email to