My Oracle Support Banner

While Generating Client Keystores for Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3) Tester in Cert Mode Getting The Error: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: invalid key format (Doc ID 2199240.1)

Last updated on JUNE 02, 2023

Applies to:

Oracle Access Manager - Version 11.1.2.3.4 and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.

Symptoms

While running the following 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.