Using key and certificate from browser?

Young, Colleen (colleenyoung@kpmg.com)
Wed, 7 Apr 1999 16:16:15 -0400

Message-Id: <B5C58AC95634D211AE8500805FA703CC029A45F0@USNSSEXC04>
From: "Young, Colleen" <colleenyoung@kpmg.com>
To: java-security@java.sun.com
Subject: Using key and certificate from browser?
Date: Wed, 7 Apr 1999 16:16:15 -0400

I am looking for help in utilizing the private key issued by Verisign and
stored in my browser, with Java JDK 1.2.

I can use the JKS keystore format just fine for signed applets and in
digitally signing data. The keys in that keystore are created using keytool
or the KeyPairGenerator class. However, I want to use the certificate issued
by Verisign and stored in my browser.

My approach has been to try to export the keys from the browser and put them
into the JKS-format keystore.

I can export the Certificate and the private key from Internet Explorer
version 5 just fine, but it appears that IE will give me the private key in
PKCS#12 format only.

In lieu of implementing a PKCS12 keystore, I would be glad of having a
utility or API which would allow me to read the PKCS format and transform it
into some format that either keytool or the 1.2 API would allow me to
manipulate.

I am looking for any avenue to make this work. What is your recommended
approach?

Regards,

Colleen
*****************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.
*****************************************************************************