SAP Knowledge Base Article - Preview

2233818 - PI Messages Fail with 'Exception decrypting key' Error


  • Messages processing through a channel with the PGP Encryption Module configured fail with the below error
    Message processing failed. Cause: org.bouncycastle.openpgp.PGPException: Exception decrypting key
  • Taking an Example 50 (XI Channel) XPI Inspector trace for the relevant channel shows the following errors
    No Information Available for Audit Key : PGP Encryption Module: Could not extract private key (org.bouncycastle.openpgp.PGPException: Exception decrypting key)
    Catching Could not open private key
    Caused by: org.bouncycastle.openpgp.PGPException: Exception decrypting key
    Caused by: Illegal key size



  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4


SAP NetWeaver 7.4 ; SAP enhancement package 1 for SAP NetWeaver 7.3


Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, XI, B2B, Adapter Engine, Adapter Framework, System Error, B2B modules, PIB2BPGP, Java Cryptography Extension, JCE, strong but limited, unlimited, policy files , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , BC-JVM , SAP Java Virtual Machine , 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.