Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / February 2005

Tip: Looking for answers? Try searching our database.

Distribute Keypair

Thread view: 
fritz-bayer@web.de - 14 Feb 2005 07:03 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.