This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 10

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
 
 
subject: Problem Removing SmartCard terminal (KeyStore and PKCS11)
 
Similar Threads
reading certificate from smart card
SCJEA Sample questions on Sun's site (whoops)
KeyPair Generation problem
help with button display.... :(
Problem, java security KeyStore and JApplet