aspose file tools*
The moose likes Security and the fly likes Problem Removing SmartCard terminal (KeyStore and PKCS11) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Problem Removing SmartCard terminal (KeyStore and PKCS11)" Watch "Problem Removing SmartCard terminal (KeyStore and PKCS11)" New topic
Author

Problem Removing SmartCard terminal (KeyStore and PKCS11)

Guillermo Diaz Solis
Greenhorn

Joined: Dec 31, 2013
Posts: 11

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.

Notes:
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.


Oracle Certified Associate, Java SE 7 Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Removing SmartCard terminal (KeyStore and PKCS11)