C?sar Fern?ndez via JavaK Guest
|
Posted: Fri Apr 01, 2005 7:54 am Post subject: ssl properties in differents web apps in same app server |
|
|
hello,
i have a web application deploy in a application server (WAS 4.0).
this application connect to a server with SSL.
when the application init, I configure the ssl properties:
private URL url;
init()
{
System.setProperty("javax.net.ssl.keyStore", "...");
...
System.setProperty("javax.net.ssl.trustStore", "...");
...
URL url = new URL("https://...");
...
}
when have a request:
doPost(req, resp)
{
URLConnection con = url.openConnection();
...
InputStream in = con.getInputStream();
...
}
well, in the same application server, i have others application deployed,
that access other services in others servers with SSL, and init the
configuration in the same way with others keystore and truststore.
all the applications are in the same app server (same virtual machine), and
call
System.setProperty("javax.net.ssl.keyStore", "...");
is this a problem???
thaks in advance,
C?sar.
--
Message posted via http://www.javakb.com
|
|