I'm developing an application that requires client authentication through smart-card.
The client performs a mutual SSL authentication using the smart-card.
There's an efficiency issue: the client authentication is slow. Before of any internet traffic to the web-services, there's a delay of about 6 seconds.
Here's the log:
2013-05-20 16:54:38,986 DEBUG (HttpConnection.java:692) - Open connection to *****
keyStore is : NONE
keyStore type is : pkcs11
keyStore provider is : SunPKCS11-SmartCard
init keystore
==== HERE IS A DELAY OF ABOUT 6 SECONDS!!!!
init keymanager of type SunX509
The client is running in Linux.
I'm trying various workarounds and solutions to avoid this late, but I'm thinking that is due to an internal init of the smart-card and I can't avoid.
What do you think about? Can I avoid this late in some manners?
Thanks!