jarsigner to use remote keystore

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

  1. Satish

    Satish Guest

    hello,

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

    For eg; my config file is under c:\mycfg.cfg which has entries like:-
    name=xyz-smartcard
    library=c:\mypkcs11.dll


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

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

  2. Satish

    Roedy Green Guest

    On Mon, 08 Oct 2007 07:17:48 -0700, Satish <>
    wrote, quoted or indirectly quoted someone who said :

    >with the jarsigner utility to access the remote keystore?


    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 Canadian Mind Products
    The Java Glossary
    http://mindprod.com
    Roedy Green, Oct 11, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay Canale

    Jarsigner and Timestamp

    Jay Canale, Mar 2, 2005, in forum: Java
    Replies:
    3
    Views:
    2,489
    Jay Canale
    Mar 4, 2005
  2. ted holden

    jarsigner?

    ted holden, May 14, 2005, in forum: Java
    Replies:
    2
    Views:
    993
    Ross Bamford
    May 14, 2005
  3. Rolf Gabler-Mieck

    jarsigner and webstart

    Rolf Gabler-Mieck, Jun 28, 2005, in forum: Java
    Replies:
    8
    Views:
    6,427
    Rolf Gabler-Mieck
    Jun 29, 2005
  4. Mark Riordan
    Replies:
    5
    Views:
    18,467
    timestamp
    Nov 10, 2011
  5. Ed_Zep

    Jarsigner newbie question

    Ed_Zep, Jan 20, 2007, in forum: Java
    Replies:
    1
    Views:
    390
    Andrew Thompson
    Jan 20, 2007
Loading...

Share This Page