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!

Importing X509 cert with 4096 bit key

843811May 19 2003 — edited Feb 12 2005
I am having trouble importing a X509 certificate into a jks keystore file. I am able to view this certificate in IE and other browsers. Buth when I try to import this certificate into my jks keystore file I receive the following error:

keytool error: java.lang.Exception: Input not an X.509 certificate

I know the certificate is a X.509 cert. It does however have a very large key size - 4096 bits. Should keytool be able to import certs with a a 4096 bit key?

The certificate is the root CA that signed a client cert that I need to import into my jks. I can't import the client cert until I can import the root CA so that keytool will trust the signer of the client cert.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2005
Added on May 19 2003
2 comments
736 views