My Axis2 1.4.1, ADB binded webservice hosted in Websphere Application server community edition(WASCE)18.104.22.168 installed in Windows7. I have implemented SSL by generated self signed certificate and imported into keystore and cacert files. I tested the webservice from same machine and SSL configuration is successful.
Now i want to change the cacert file location from it's default. i.e Java/jre/lib/security to some other location. For that i am using following system params to set at JVM runtime in axis client.
When i run my webservice client from main method SSL communication is perfectly fine . If i deploy the code in WASCE it is throwing SSL handshake exception.
I just tried with above JVM run time params set up in setEnv.bat using -Djavax syntax but it was not helped me. For checking the SSL connectivity i tried this option but i do not want this, since i required to encrypt my keystore/cacerts password from java application.
Could you please share your inputs to resolve the issue.