Last updated on FEBRUARY 24, 2017
Applies to:Oracle Containers for J2EE - Version: 10.1.3
This problem can occur on any platform.
The command "$ORACLE_HOME/jdk/jre/bin/keytool -printcert -v -file sert.cer" fails with exception:
keytool error: java.lang.Exception: Failed to parse input
Due to the error, the certificate could not be imported in to the keystore. It works fine when reading/importing the same certificate using the keytool from JDK 1.4.2.
The problem was specific to JDK 1.5.0 version shipped with Oracle AS installation.
The used version is
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20060504 (JIT enabled)
J9VM - 20060501_06428_bHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA)
JCL - 20060511a
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