OID 10g Server SSL Certificate Renewal with Certificate Key Size of 4096 and 2048 Fails: keytool error: java.lang.Exception: Input not an X.509 certificate
Last updated on DECEMBER 06, 2016
Applies to:Oracle Internet Directory - Version 9.0.4 to 10.1.4.3 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.
Oracle Internet Directory (OID) 10g, e.g. 10.1.4.3.0.
Renewing the SSL certificates for OID fails:
Enter keystore password: changeit
keytool error: java.lang.Exception: Input not an X.509 certificate
Based on Document 1359473.1's Cause: "The issue is due to the bug in JCE Provider integrated in the Sun Java 1.4.2, which supports cryptography for certificates with key size no longer than 2048 bytes. Customer has the certificate that is longer than 2048 bytes."
Requesting for custom JDK with the JCE bug fixed, as per this Note's Solution Option #1.
Another potential symptom/error: Oracle Wallet Manager (OWM) or orapki from 10g 10.1.0.5 home fails with "Unknown error occured:" when attempting to import a 4k root certificate into a wallet.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms