# How do I sign a jar file with an already existing key pair?

Olle Larsson (larsson@mcs.anl.gov)
Wed, 17 Mar 1999 16:24:00 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Robert Wille: "Unrecoverable key exception"
- Previous message: Souza, Marise D: "Qs.."

    From: "Olle Larsson" <larsson@mcs.anl.gov>

    To: <java-security@java.sun.com>

    Subject: How do I sign a jar file with an already existing key pair?

    Date: Wed, 17 Mar 1999 16:24:00 -0600

Hi,

I have been using SSL in other contexts for quite some time and have
a signed X509 certificate/key pair, stored in RFC1421 format. I can
import my certificate to the keystore without problem, but not the
key ("keytool error: Input not an X.509 cerficate").

I do not see any other way to sign a jar file other than getting the
key pair into a keystore and then use jarsigner. ???

How do I / Can I proceed?

Thanks,

/Olle

----------------------------------------------------------------------
Olle Larsson Proj: http://www.globus.org O-
MCS Division, Bldg 221 Mail: larsson@mcs.anl.gov
Argonne Nat'l Laboratory WWW : http://www.mcs.anl.gov/~larsson/
Argonne, IL 60439-4844 Ph. : +1 (630) 252-1151
USA Fax : +1 (630) 252-5986
----------------------------------------------------------------------

- Next message: Robert Wille: "Unrecoverable key exception"
- Previous message: Souza, Marise D: "Qs.."