AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ssl properties in differents web apps in same app server

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
C?sar Fern?ndez via JavaK
Guest





PostPosted: Fri Apr 01, 2005 7:54 am    Post subject: ssl properties in differents web apps in same app server Reply with quote



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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.