Hi dimuthu,

I've managed to run the Transportbinding sample by generating the keystore
for the client,
importing the server certificate and setting the properties above.Yes i
think that can be automated in rampart but my question is:
if we set those properties,when do we un-set them?

Regards,
Nencho



2007/5/16, Dimuthu <[EMAIL PROTECTED]>:

Hi Nencho,

Couple of hours ago I was looking at how to configure ssl in Axis2
client side becuase of Rampart-42.  I found this article [1]. Basically
if you have JSSE, set the following four parameters in the client side
properly and things should work smoothly when you give the EPR
correctly.

System.setProperty("javax.net.ssl.keyStorePassword", "password");
System.setProperty("javax.net.ssl.keyStoreType", "JKS");
System.setProperty("javax.net.ssl.trustStore", "client-truststore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "trustPass");

I haven't tried it. But it should work.

By the way regarding Rampart-42, we can automate the client side SSL
configuration as much as possible in the Rampart when it comes to
TransportBinding assertion, but serverside has to be handled manually.
What do you think? I don't see a better solution.

Cheers,
Dimuthu

[1]http://java.sun.com/products/jsse/INSTALL.html


On Wed, 2007-05-16 at 13:33 +0300, Nencho Lupanov wrote:
> Hi all,
>
> I am testing the TransportBinding assertion with UsernameToken.
> Do I need some furthure configuration on tomcat in order to enable ssl?
> I already configured ssl on port 9443.Is that enough?
>
> Does the enpoint needs to use this port?Do I only have to change the
port at
> the endpoint or something?
>
> Thanks,
> Nencho


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


Reply via email to