How do I store a Java KeyStore password?

Posted by Anthony D on Stack Overflow See other posts from Stack Overflow or by Anthony D
Published on 2010-06-14T15:43:03Z Indexed on 2010/06/14 16:02 UTC
Read the original article Hit count: 418

Filed under:
|
|
|
|

In my web application I access a private key that is stored in a Java KeyStore. I would like to know what is the best/recommended way to store the password for the KeyStore and private key.

I've considered using a properties file but that does not seem very secure for use in a production environment (storing password in a plain text file). Also, hard-coding the password in my code is not an option I'm willing to entertain.

Thanks.

© Stack Overflow or respective owner

Related posts about j2ee

Related posts about jee6