PKCS11 NOT FOUND problem

I read many topics relatives to these problem. Here's my case :

I configured a file for the provider (pkcs.cfg) and used a dll openSc-pkcs11.dll

I installed the provider.sunPkcs11 as described on the Sun guide.

Installing the provider even from program code is succesful.

I tested it , with the code and with the keytool. But i return the same error message :

Exception in thread "main" java.security.KeyStoreException: PKCS11 not found

I think i missed something to set in the configuration file for the keyStore.

There is some known bug with this new feature of jdk 1.5 ?

[624 byte] By [Mizara] at [2007-10-1 15:00:02]
# 1
Mizar,I have the same problem with PKCS11 Keystore type.any solution?byeLuciano
Lucianolopessa at 2007-7-10 18:55:44 > top of Java-index,Security,Other Security APIs, Tools, and Issues...