Symptom
In NetWeaver Administrator in the Certificates and Keys: Key Storage when clicking on a certain view or certificate 500 Internal Server error is displayed
At the same time one of the following errors is logged in the defaultTrace file:
*******
Can not get extended entry info for entry <name of the keystore view>
[EXCEPTION]
java.lang.ArrayIndexOutOfBoundsException: while trying to load from index 0 of an object array with length 0, returned from com.sap.engine.services.keystore.impl.KeyStoreEntry.getCertificateChain()
at com.sap.engine.services.keystore.impl.util.EntryUtility.getExtendedEntryInfo(EntryUtility.java:193)
...
*****
OR
*****
Can not get extended entry info for entry <name of the certificate>
[EXCEPTION]
java.lang.ArrayIndexOutOfBoundsException: 0
at com.sap.engine.services.keystore.impl.util.EntryUtility.getExtendedEntryInfo(EntryUtility.java:193)
...
*****
OR
*****
Can not get extended entry info for entry <name of the keystore view>
[EXCEPTION]
java.security.KeyStoreException: Unable to recover the key:
java.security.InvalidKeyException: Can't parse PrivateKeyInfo: iaik.asn1.CodingException: ASN1: GeneralString does not support getComponentAt(int)!
*****
OR
*****
Can not import entry pei from PKCS12
[EXCEPTION]
java.security.KeyStoreException ID21108: while trying to load from index 33 of a byte (or boolean) array with length 33, loaded from the first parameter of the method
at com.sap.engine.services.keystore.impl.coder.PKCS12Coder.loadEntry(PKCS12Coder.java:105)
at com.sap.engine.services.keystore.jmx.bean.ViewManager.importEntryFromPKCS12(ViewManager.java:485)
Read more...
Environment
SAP NetWeaver Application Server Java
Product
Keywords
keystore corrupt, can not get extended entry info, cannot view keystore, cannot edit certificate , KBA , BC-JAS-SEC , Security, User Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview