Editing OVD 11g Keystore in EM Fails with: Failed to list certificates. java.lang.ClassCastException: sun.security.provider.DSAPublicKeyImpl | at oracle.sysman.emas.model.sslconfig.WalletModel.getCertInfo(WalletModel.java:724)

(Doc ID 1408993.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

- Select one of the OVD instances thru EM Fusion Middleware interface.
- Then Go to “Oracle Virtual Directory” ---> Security ----> Key Stores.
- Click on “keys.jks” link, the pop-up window “Enter Keystore Password” is displayed.

Message observed points to sun.security.provider.DSAPublicKeyImpl Java class, as image shows:

Changes

Issue can be reproduce adding Private Key using DSA Algo in the key.jks file. For sample:

keytool -genkey -alias dsakey -keyalg "DSA" -keysize 1024 -keysize 1024 -validity 180 -keystore keys.jks

Cause

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