PKCS11 not found linux

1,364 views
Skip to first unread message

Davis Mendoza Paco

unread,
Aug 10, 2015, 11:15:48 AM8/10/15
to JSignPdf
hi
please can you help, pkcs11 not work

edit the file "pkcs11.cfg"

name=Aventra
library=/usr/local/lib/opensc-pkcs11.so

and not displayed in the list "keystore type",
as I can solve this problem


java -jar JSignPdf.jar -lkt

DEBUG Relaxing SSL security.
DEBUG Registering SunPKCS11 provider from configuration in conf/pkcs11.cfg
DEBUG SunPKCS11 provider registered with name SunPKCS11-Aventra
INFO  Available key store types:
BCPKCS12
BKS
BOUNCYCASTLE
CASEEXACTJKS
JCEKS
JKS
PKCS12
PKCS12-3DES-3DES
PKCS12-3DES-40RC2
PKCS12-DEF
PKCS12-DEF-3DES-3DES
PKCS12-DEF-3DES-40RC2
DEBUG Removing security provider with name SunPKCS11-Aventra

Josef Cacek

unread,
Aug 11, 2015, 2:54:59 AM8/11/15
to JSignPdf forum
Try to use -Djava.security.debug=sunpkcs11 java option.

java -Djava.security.debug=sunpkcs11 -jar JSignPdf.jar -lkt

Some advices are also on stackoverflow:
http://stackoverflow.com/questions/8247115/java-keytool-with-opensc-pkcs11-provider-only-works-with-debug-option-enabled

Regards,
-- jc
> --
> You received this message because you are subscribed to the Google Groups
> "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jsignpdf+u...@googlegroups.com.
> To post to this group, send email to jsig...@googlegroups.com.
> Visit this group at http://groups.google.com/group/jsignpdf.
> For more options, visit https://groups.google.com/d/optout.

Davis Mendoza Paco

unread,
Aug 17, 2015, 5:49:13 PM8/17/15
to JSignPdf
thanks
Reply all
Reply to author
Forward
0 new messages