Can't choose PKCS#11 token type in Crypto Token

Help
Roman
2014-01-16
2014-01-16
  • Roman

    Roman - 2014-01-16

    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?

     
  • Tomas Gustavsson

    Read install guide.
    (also discussed in some previous issues in the forum)

    Cheers,
    Tomas

     
    • Roman

      Roman - 2014-01-16

      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
    • Roman

      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

Log in to post a comment.