SAP Knowledge Base Article - Preview

2631536 - Certificate can not be imported - Certificate KeyStoreException - Index out of range

Symptom

You try to import certificate in NWA but it fails with the following error:

Index_out_of_range.png

Relevant exceptions can be found in default trace files:

Can not import entry dwa from PKCS12
[EXCEPTION]
java.security.KeyStoreException: ID<XXXXX>: Index out of range: 0 >= 0

Can not import entry intermediateCA from PKCS12
[EXCEPTION]
java.security.KeyStoreException: ID<XXXXX>: java.lang.ClassCastException: Cannot cast class [B to class java.math.BigInteger

Can not export view <name of the keystore view> to PSE
[EXCEPTION]
java.security.KeyStoreException: Cannot export - JAVA is not the current PSE provider!


Read more...

Environment

SAP NetWeaver for Application Server Java 7.1+

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Index out of range, ClassCastException, JAVA is not the current PSE provider, JAVA is not the current PSE provider!, Cannot cast class, B to class java.math.BigInteger, keystore view , 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.