I was trying load keystore
from smartCard
. I have a valid smartcard
with self signed cert.
KeyStore keyStore = KeyStore.getInstance("Windows-MY")
keyStore.load(null,null);
It hangs up on KeyStore.loadKeysorCertificateChains(String,Collection<KeyEntry>)
with no response back. I am wondering what the problem could be.
Should I add root cert into CERT
keys or am I missing something else?