This seems to be differently implemented in Tomcat 7. I will fix it.

On Mon, May 23, 2011 at 5:05 PM, Amila Suriarachchi <[email protected]> wrote:

> hi,
>
> I tried to invoke an mutually authenticated rule service by the following
> code.
>
>  System.setProperty("javax.net.ssl.trustStore",
> "client/conf/wso2carbon.jks");
>             System.setProperty("javax.net.ssl.trustStorePassword",
> "wso2carbon");
>
>             System.setProperty("javax.net.ssl.keyStore",
> "client/conf/wso2carbon.jks");
>             System.setProperty("javax.net.ssl.keyStorePassword",
> "wso2carbon");
>
>             PriceCalculatorServiceStub stub = new
> PriceCalculatorServiceStub("
> https://localhost:9443/services/PriceCalculatorService";);
>
> this works with wso2brs-1.1.0 but not with the current trunk.
>
> I only changed the <parameter name="clientAuth">true</parameter>
> parameter in mgt-transports.xml.
>
> thanks,
> Amila.
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to