Re: Upgrade keystore from 1.2beta2 to 1.2beta4

Jan Luehe (luehe@laguna.eng.sun.com)
Mon, 10 Aug 1998 15:39:24 -0700 (PDT)

Date: Mon, 10 Aug 1998 15:39:24 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Upgrade keystore from 1.2beta2 to 1.2beta4
To: wolff@crc.ricoh.com, java-security@java.Sun.COM

Greg:

> I have a number of private keys stored in a (default) 1.2beta2 KeyStore.
>
> Is there anyway to convert this KeyStore into one which can be accessed by
> the 1.2beta4 implementation of KeyStore?

If your keys are really important to you, you could use the
java.security.KeyStore API methods from the beta2 release to
load your keystore and read its keys and certs and store them
into a file (in the format returned by getEncoded()).

Then you write a program that parses the encoded keys and certs
from the file and writes them to a new keystore file,
using the java.security.KeyStore API methods from beta4.

Jan