Hi,

This issue is fixed https://wso2.org/jira/browse/TA-885

Please note when merging this fix need to update all automation.xml files
in all products with correct truststore
<fileName>keystores/products/client-truststore.jks</fileName>. otherwise
all the tests which uses security keys will fail because of the invalid
configuration

Thanks
Amalka


On Sat, Aug 9, 2014 at 10:09 PM, Amalka Subasinghe <[email protected]> wrote:

> Hi,
>
> When running platform tests, found that in TestFrameworkUtils class,
> keystore has set as the truststore. was there a specific reason to do so?
>
> When the cluster is fronted with different 3rd party load balancer, need
> to add the load balancer cert to the truststore of the client and then
> truststore need to set when running the client.
>
> System.setProperty("javax.net.ssl.trustStore",
> FrameworkPathUtil.getSystemResourceLocation()
>
>                +
> context.getConfigurationValue("//keystore/fileName/text()"));
>
> System.setProperty("javax.net.ssl.trustStorePassword",
>
>
> context.getConfigurationValue("//keystore/keyPassword/text()"));
>
> if we change this to truststore, all the tests which uses security keys
> will fail because of the invalid configuration in automation.xml.
>
> we have to edit all automation.xml files with correct truststore
> <fileName>keystores/products/client-truststore.jks</fileName>
>
> <truststore name="wso2">
>
>            <!--  trust-store file location  -->
>
>            <fileName>client-truststore.jks</fileName>
>
>            <!--  trust-store type (JKS/PKCS12 etc.)  -->
>
>            <type>JKS</type>
>
>            <!--  trust-store password  -->
>
>            <password>wso2carbon</password>
>
> </truststore>
>
> How can I proceed on this?
>
> Thanks
> Amalka
>



-- 

Amalka Subasinghe

Senior Software Engineer
WSO2 Inc.
Mobile: +94 77 9401267
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to