SAP Knowledge Base Article - Preview

3010768 - Upload of CSR reponse fails with exception iaik.asn1.CodingException: Length: Too large ASN.1 object: 102

Symptom

Uploading the CSR response into the keystore view fails with an exception, stack trace is logged in developer trace file:

Can not import certificate <certificate name>
[EXCEPTION]
java.security.cert.CertificateException: iaik.asn1.DerCoder$2: ASN.1 creation error: iaik.asn1.CodingException: Length: Too large ASN.1 object: 102
at com.sap.engine.services.keystore.impl.coder.PKCS7CertificateCoder.decodeCertificateChain(PKCS7CertificateCoder.java:41)
at com.sap.engine.services.keystore.impl.util.EntryUtility.loadX509CertificatesFromPKCS7Stream(EntryUtility.java:689)
at com.sap.engine.services.keystore.impl.util.EntryUtility.loadCertificates(EntryUtility.java:727)
at com.sap.engine.services.keystore.jmx.bean.ViewManager.importCertificate(ViewManager.java:418)


Read more...

Environment

SAP NetWeaver Application Server Java 7.50 or above

Product

SAP NetWeaver 7.5

Keywords

 CodingException ASN , KBA , BC-JAS-SEC , Security, User Management , BC-JAS-SEC-CPG , Cryptography , 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.