This is probably a stupid question, but how much of a security risk is it to set my web server ssl configuration (e.g. keystore password) via System.setProperty...
If I did something like:
System.setProperty("javax.net.keyStorePassword", "password");
- Is that likely to cause a security problem?
- Is there a way to safeguard against that risk while still setting the property?
- How would someone go about compromising that?
Note: Just to add a little more specifics, This is a web app running on Tomcat 6 in Red Hat.