Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Any way to recover from keystore/keypass loss between -certreq & -import ?

843811Nov 22 2006 — edited Nov 23 2006
Hi Folks,

I'd be grateful for any suggestions/prcedures for recovering from this mess:

1. Used keytool -certreq to create a certificate request;
2. Keystore got damaged so data added by -certreq function is now gone;
3. Got expensive CA certificate, but can't figure out how to import it. (The self-signed certificate used to create the request is gone.)

I have:
Certificate request csr file; and
CA's certificate file.

I do not have:
keypass value entered at the time the csr was created.

I've tried creating another self-signed certificate using keytool, but either I'm doing something wrong or it just won't work to import it into an existing alias. I can't import it as a trusted certificate because there'll be no associated private key or alias password, right?

Any way to get the CA certificate into the keystore and still have it work as intended?

Is there some way to use the data in the csr file to create the alias entry I need in the keystore?

Thanks for any suggestions.

John

Message was edited by:
JMCraig
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2006
Added on Nov 22 2006
3 comments
489 views