java - Use a different keystore per every webapp in tomcat (one JVM) -


i've tomcat instance many webapps. of them require own independent keystore call external web service on ssl. far way i've found use provided keystore using:

system.setproperty("javax.net.ssl.truststore", "mykeystore.jks"); system.setproperty("javax.net.ssl.truststorepassword","mypwd"); 

but problem way scope of system properties per java process, (tomcat shares same jvm webapps) , affect other webapps. right?

how can use specific keystore per every webapp in tomcat instance , keep limited specific web service call?

it might matter i'm using axis(1) ws clients.

i'm not familiar axis, there should way configure keystore or truststore in axis, http client using web service calls.

configuring keystore on tomcat level not way go, found out already.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -