How to prevent popups when loading a keystore

Posted by Newtopian on Stack Overflow See other posts from Stack Overflow or by Newtopian
Published on 2010-12-29T06:52:14Z Indexed on 2010/12/29 8:54 UTC
Read the original article Hit count: 324

Hi as corollary to this question I wanted to ask if you know how to prevent the poping of dialogue either to ask for password or to ask to insert a certificate.

We are currently building a system where we have to use the windows keystore to get certificates that are stored on USB token containing both reader and certificate. Unlike the original question we do not experience problems when loading the keystore but when we are accessing it. If there is only a single certificate in the keystore no problem, we get the appropriate password popup at the appropriate time and that's it. However if a second USB key gets inserted in the system and later removed the entry remains in the keystore and from then-on every time we try to access information in the keystore we get a popup to insert the key. This occurs for every certificates in the store for which the key is not currently connected to the computer.

The system we are interfacing with that requires these certificates necessitates that we perform multiple cryptographic operations and to have these popups to come up every times is rather annoying to say the least.

© Stack Overflow or respective owner

Related posts about java

Related posts about Windows