ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » SSL keystore in Windows IE

Post new topic  Reply to topic
 SSL keystore in Windows IE « View previous topic :: View next topic » 
Author Message
GaryGWood
PostPosted: Fri Jul 30, 2004 8:10 am    Post subject: SSL keystore in Windows IE Reply with quote

Apprentice

Joined: 14 Oct 2003
Posts: 48
Location: Austin, TX

I have setup and used SSL with Java under Windows using specified key and trust stores in code like this:
Code:
System.setProperty("javax.net.ssl.trustStore", "C:\\ssl\\trustStore");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
System.setProperty("javax.net.ssl.keyStore","C:\\ssl\\keyStore");
System.setProperty("javax.net.ssl.keyStorePassword", "changeit");


I have the password for the stores hardcoded which is bad. The application will run in a batch mode around the clock so we must store the passwords somewhere to avoid having it typed manually or stored in clear text in a batch file or properties file.

One idea that has been put forward is using the SSL certificate store integrated with Internet Explorer. The application will run under a Windows login id that has access to this store so it will not be prompted for a password (at least that's the theory). The store will still be protected by the OS login requirement.

Anybody have any idea how to point the code to use this store? Is there a better way to do this?

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » SSL keystore in Windows IE
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.