Luna G5 Error in SignServer

Anonymous
2012-12-05
2013-02-18
  • Anonymous - 2012-12-05

    Hi
    I want to run SignServer with SafeNet Luna G5 (USB).
    My environment is:
    CentOS 5.8
    JBoss 5.1.0.GA
    OpenJDK 1.6.0_22
    SignServer 3.2.2
    HSM: SafeNet LunaG5
    When I test the connection with HSM by ejbcaClientToolBox, everything are ok and I can generate key. But when I want to connect via SignServer, I got error.
    The config in the qs_pdfsigner_configuration.properties is:
    CLOB.WORKERGENID1=SIGNERTOKEN.CLASSPATH = org.signserver.server.cryptotokens.PKCS11CryptoToken
    WORKERGENID1.DEFAULTKEY=pdfSignerKey
    WORKERGENID1.KEYALG=RSA
    WORKERGENID1.KEYSPEC=1024
    WORKERGENID1.PIN=12345678
    WORKERGENID1.SHAREDLIBRARY=/usr/lunag5/lib/libCryptoki2.so
    WORKERGENID1.SLOT=1
    WORKERGENID1.ATTRIBUTESFILE=/opt/signserver/pdfsigner/p11attributes.cfg

    after running of jboss and signserver I wrote these commands:
    ./signserver.sh setproperties /opt/signserver/pdfsigner/qs_pdfsigner_configuration.properties
    ./signserver.sh reload 1
    Everything are OK but after running:
    ./signserver.sh activatecryptotoken 1 12345678
    I got this error:
    Trying to activate crypto token of worker with id : 1
    org.signserver.common.CryptoTokenAuthenticationFailureException: Failed to initialize PKCS11 provider slot '1'.
    What is the problem?

     
  • Tomas Gustavsson

    You should post questions about SignServer in the signserver forum.

    Cheers,
    Tomas

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks