While Generating Client Keystores for OAM Tester in Cert Mode Getting The Error: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: invalid key format

(Doc ID 2199240.1)

Last updated on FEBRUARY 06, 2017

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


While running the folllowing command to generate Client Keystores for OAM Tester in Cert Mode:
java -cp $OAM_HOME/oam/server/tools/importcert/importcert.jar oracle.security.am.common.tools.importcerts.CertificateImport -keystore keystore.jks -privatekeyfile aaa_key.pem -signedcertfile aaa_cert.pem -storetype JKS -genkeystore yes



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