I have installed EJCBA 6.0.3 on Debian 7 64bit with openJava 7 and JBoss 7.1.1.Final.
After that I opened administration of EJBCA and headed to Crypto Tokens.
I can choose only SOFT token type. Is there any specific configuration how to enable PKCS#11 token type?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was following the documentation and modified JBoss 7 to allow SUNPkcs11 in modules/sun/jdk/main/module.xml. Also I added to conf/web.properties name and path to my pkcs11 library.
Last edit: Roman 2014-01-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added the following lines:
< path name="sun/security/x509" />
< path name="sun/security/pkcs11" />
< path name="sun/security/pkcs11/wrapper" />
into modules/sun/jdk/main/module.xml.
I run JBoss 7.
Then I added the following lines:
cryptotoken.p11.lib.100.name=ACS
cryptotoken.p11.lib.100.file=/home/ejbca/libacospkcs11.so
to ejbca/conf/web.properties
Then I run "ant deployear".
I headed to Crypto Tokens GUI and wanted to Create new...
There is no option of PKCS#11 token type.
What I'm doing wrong?
Last edit: Roman 2014-01-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed EJCBA 6.0.3 on Debian 7 64bit with openJava 7 and JBoss 7.1.1.Final.
After that I opened administration of EJBCA and headed to Crypto Tokens.
I can choose only SOFT token type. Is there any specific configuration how to enable PKCS#11 token type?
Read install guide.
(also discussed in some previous issues in the forum)
Cheers,
Tomas
I was following the documentation and modified JBoss 7 to allow SUNPkcs11 in modules/sun/jdk/main/module.xml. Also I added to conf/web.properties name and path to my pkcs11 library.
Last edit: Roman 2014-01-16
To be more specific:
I stopped JBoss 7.
I added the following lines:
< path name="sun/security/x509" />
< path name="sun/security/pkcs11" />
< path name="sun/security/pkcs11/wrapper" />
into modules/sun/jdk/main/module.xml.
I run JBoss 7.
Then I added the following lines:
cryptotoken.p11.lib.100.name=ACS
cryptotoken.p11.lib.100.file=/home/ejbca/libacospkcs11.so
to ejbca/conf/web.properties
Then I run "ant deployear".
I headed to Crypto Tokens GUI and wanted to Create new...
There is no option of PKCS#11 token type.
What I'm doing wrong?
Last edit: Roman 2014-01-16