We are trying to setup the pkcs11 KeyStore for an Oberthur ID-ONE Security Token (Model Cosmo v.7.0.1-n).
We added the according encryption Path of the OCSCryptoki.dll DLL to the pkcs11.cfg File plus setting the slotListIndex=0 parameter.
Unfortunately the pkcs11 KeyStore can't be successfully registered, keeping up to show in the debug mode executed command:
jre\bin\java -Djava.security.debug=pkcs11keystore -Djava.security.debug=sunpkcs11 -jar JSignPdf.jar
the following error:
PKCS11Exception: CKR_TOKEN_NOT_RECOGNIZED
We tried for testing reasons to set the
slotListIndex=1
but as might be expected, the error changed to CKR_SLOT_ID_INVALID.
Any help would be appreciated,