Hi Dumindu, 

Thanks for your quick reply. So then I have a few more question regarding this:

(1) I looked at the manuals you refered to, it seems to me that I will need to 
re-compile the AXIS2/c to enable ssl. My question is this, is the downloaded 
binary from AXIS2/c side SSL enabled? 

(2) Now suppose I have an AXIS2/c based client, and an AXIS-j (v1.4) + TOMCAT 
based server component, will the HTTPS continue to work if I set up key chain 
file for the client and set up keystore file for the AXIS-J/TOMCAT based 
server? Did anyone ever test this senario? and how to test? 

Thanks! 


----- Original Message ----
From: Dumindu Pallewela <[EMAIL PROTECTED]>
To: Apache AXIS C Developers List <[email protected]>
Sent: Tuesday, February 12, 2008 10:05:07 PM
Subject: Re: HTTPS support -- different implementation from AXIS-J

Hi Vivian,

> Hi All,
>
> I was looking at AXIS2/c manuals and reading through the mailing list
> regarding HTTPS support, I noticed that the HTTPS support in AXIS2/c  is
> different from AXIS-J. I was using AXIS-J for a while in the past,  and I
> remember that in order to support HTTPS in the Client side, I will need a
> keystore file, and all I need to do is to set a System property like this
> following
> in the java clinet before making the web service call:
>
>
>
>
>        System.setProperty("javax.net.ssl.trustStore", keystorePath);
> Here in AXIS2/c, it seems require a key chain file, is this key chain file
> the same thing as that keystore file? I notice that the way to create these

No they are not.

> two files are somewhat different. Also in AXIS2/c, there is a extra
> passphrase, which does not seem to be in the AXIS-J. Is this passPhrase a
> must have in order to support HTTPS?

I'm not sure why a passphrase is not used in AXIS-J, but here it is
used in order to protect the private key. You can choose to encrypt
your private key when you create one. Thus, if your private key is not
encrypted with a passphrase you do not have to provide this.

> I am also wondering if there is a service APIs to set the keyChain file (or
> file path) in the call object, or something like the above example in java
> (set System property)?

I'm afraid it is not as simple in AXIS2/C though it is not too
complicated either :). Please refer to AXIS2/C manual [1].

Regards,
Dumindu.

[1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#ssl_client



-- 
Dumindu Pallewela
http://blog.dumindu.com
GPG ID: 0x9E131672

WSO2 | "Oxygenating the Web Service Platform" | http://wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to