Symptom
Uploading of PKCS12 key-pairs (.p12 or .pfx files) fail with an exception similar to:
The traces also show an exception similar to the following:
java.security.KeyStoreException: IDxxxxx: ASN.1 creation error: iaik.asn1.CodingException: ASN.1 creation error: iaik.asn1.CodingException: Length: Too large ASN.1 object: xxx
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)
...
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
SAP NetWeaver Application Server Java 7.30 or above
Product
Keywords
ASN.1 creation error, Length: Too large ASN.1 object, p12, pfx, PKCS12, import, Certificates and Keys, ENGINEAPI, x. 509. , KBA , BC-JAS-SEC , Security, User Management , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , 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.