Hi,
I have an application which established a https connection and uses
client side authentification to do so.
Therefore the private and public key as well as the certificate of the
client have to be distributed with the program.
I can't use a .keystore file to distibute them, since it's not portable
across different vendor's jdks. A keystore from vendor A can't be read
by vendor B.
The certificate which contains also the public key can be distributed
in the portable X509 format.
But what format do I use to distribute the private key? Which portable
format can I use?
I thought about a helper program, which extracts the private key and
saves it as a byte sequence in a file usings the keys "getEncoded"
funtion.
My program could then read this byte sequence in to import the key.
However, I'm not sure whether or not this byte sequence is portable
across different vendor's JDKs?
Edward A. Feustel - 14 Feb 2005 12:08 GMT
> Hi,
>
[quoted text clipped - 21 lines]
> However, I'm not sure whether or not this byte sequence is portable
> across different vendor's JDKs?
Are you trying to send both the public and private key to the same entity?
If so use the .p12 format.
Browsers will read these into their key stores.
Regards,
Ed