jarsigner to use remote keystore

Discussion in 'Java' started by Satish, Oct 8, 2007.

  1. Satish

    Satish Guest


    we are trying to access a PKCS11 keystore (smartkey) over the network
    that to sign the jar using jarsigner.
    We are unable to reference the keystore config file via jarsigner and
    fails with
    "keystore Initialization failed".

    For eg; my config file is under c:\mycfg.cfg which has entries like:-

    How can we specify a PKCS11 keystore (-keystore NONE -storetype
    with the jarsigner utility to access the remote keystore?

    Any work arounds, help would be greatly appreciated!
    Satish, Oct 8, 2007
    1. Advertisements

  2. Satish

    Roedy Green Guest

    By remote I presume you mean just somewhere on the local lan.

    Lets say you have drive Z: mapped to the remote directory where
    ..keystore lives.

    jarsigner.exe -keystore z:\.keystore

    Might just be easier to copy it.
    Roedy Green, Oct 11, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.