locked
Java KeyStore.load for "windows-My" pops up "Insert Smart Card" window RRS feed

  • Question

  • Hi,

    I am trying to access/list the certificates from Windows-My using "SunMSCAPI" provider.

    I have multiple certificates in my "personal store" and I would like to get only the certificates based on alias or list all of them and I can filter them.

    The moment I call "KeyStore.load(null, password)", I get "please insert smart card" popup window for all the certificates excluding the ones in the inserted smart card.

    Is there anyways to avoid this popup window? All I want is to get the certificates that matches the inserted smart card so that I can validate the certificates. Window popsup while loading the KeyStore.

     KeyStore keyStore = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
     keyStore.load(null, password);

    Thanks

    Tuesday, September 24, 2013 2:14 PM

All replies

  • I am also facing the same issue? Did you get a solution for this?
    Monday, June 30, 2014 8:02 AM
  • Hi,

    Were you able to figure out the issue and solution?

    Thanks,

    Somesh

    Tuesday, August 26, 2014 3:43 PM
  • I removed some personal certificaties at key manager (certmgr.msc) and wala!
    Tuesday, September 15, 2015 8:27 PM