|
-
JAVA Security: Remote JMX connection over SSL
Hi,
In order to the secure the JMX channel using SSL, I am launching JAVA using VM arguments 'javax.net.ssl.keystore', and javax.net.ssl.keystorePassword by setting appropriate values. It works fine but with the caveat that I will have to specify keystore password in cleartext while launching my application.
To avoid specifying password in cleartext, I was trying to set above two properties dynamically with-in the code as shown below:
System.setProperty("javax.net.ssl.keystore", "myKeyStore");
System.setProperty("javax.net.ssl.keystorePassword", getKeyStorePwd());
But, somehow the dynamic way of setting these system properties is not working.
I appreciate all your comments in this regard.
Similar Threads
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By psyghotic in forum Java
Replies: 0
Last Post: 03-02-2005, 02:39 PM
-
Replies: 1
Last Post: 12-03-2001, 09:26 PM
-
By Jim Pragit in forum .NET
Replies: 64
Last Post: 10-20-2001, 08:06 PM
-
By Chris Boyle in forum Security
Replies: 1
Last Post: 06-20-2001, 11:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks