My Oracle Support Banner

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 11.1.2.3.4 and later
Information in this document applies to any platform.

Symptoms

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

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.