KeyStore Blues

Discussion in 'Java' started by Stefan Schulz, Aug 6, 2005.

  1. Hi all

    After being rather forcefully convinced to use a KeyStore object in my
    application (since there is an easy way to encode keys, but no way i could
    find to decode them again), another problem struck. I can read a KeyStore
    just fine. I can also add Public Keys. But once i try to add a PrivateKey
    instance, the program aborts because of an incomplete certificate chain.
    Since these keys will only be used by my application, i do not really see
    why i should go through a long certification process.

    Is there any way to self-certify the keys?
    Stefan Schulz, Aug 6, 2005
    1. Advertisements

  2. Stefan Schulz

    Pete Barrett Guest

    Yes. If memory serves, when you generate a key pair using keytool, you
    automatically generate a self-certified root certificate. Look in the
    keytool documentation in case my meory's faulty, but I think that's

    Pete Barrett
    Pete Barrett, Aug 6, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.