Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Removing SmartCard terminal (KeyStore and PKCS11)

Guillermo Diaz Solis
Posts: 11
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys, I have a problem when I use a SmartCard and then my applet has loaded all certficates from pkcs11.
First, when my applet are running and then I insert the card in the reader, when I close the browser the java.exe process disappear because I overwrote the method destroy and stop with a System.exit(0). The problem is when I load the keystore from pkcs11 and try to close the browser. The java.exe process still there. I want to kill the applet because I need use again in another page in same hosting and the death process blocks a new instance.

If I have loaded the certificates and remove the smartcard reader, later when I close the applet the java.exe process disappear but if I do not remove the Reader from usb port, the process java.exe still there.

I try using card.disconnect(true) but Just works when I need load again all certificates using a pin to open the KeyStore.

Somebody can helpme? Thanks.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic