Symptom
Within SAP Process Integration (PI) / Process Orchestration (PO), there is a need to use a Private Key in a secure connection within a Communication Channel. When trying to import the privae Key in the NWA Keystore it fails with:
Unable to decrypt PrivateKey! iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo$1: Error decrypting private key: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length:<length>
Read more...
Environment
- SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
- SAP NetWeaver 7.3
- SAP enhancement package 1 for SAP NetWeaver 7.3
- SAP NetWeaver 7.4
- SAP NetWeaver 7.5
Product
Keywords
Unable to decrypt PrivateKey!, javax.crypto.BadPaddingException, Invalid PKCS#5 padding length, private key, iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo$1, PI, PO, AEX, Keystore, Private, Key, Certificate, Process Integration, Process Orchestration, Netweaver, 7.5, 7.4, 7.3, 7.31, 7.1 , KBA , BC-XI-CON-AFW-SEC , Security , 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.