CKR_TOKEN_NOT_RECOGNIZED Error

336 views
Skip to first unread message

IT_DEPARTMENT

unread,
Feb 5, 2020, 9:58:11 AM2/5/20
to JSignPdf
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,


Reply all
Reply to author
Forward
0 new messages