Skip to Content

PGP decryption issues.


Im currently relocating a number of interfaces from BizTalk to PI, one of the interfaces (concur) has pgp decrypt on it. I've imported the keys to NWA, references them in the pgpmodule settings in pi and get this most onerous of messages, I've checked for typo's, recreated it, and cleared the cache, I'm able to find the file in question using a regex but when it comes to decrypting the file, I get the below error and I've not found anything similar on scn, hence this post. Any ideas?


MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: Error occurred: ; nested exception is: javax.ejb.EJBTransactionRolledbackException: Transaction ended with error, reason: ; nested exception is: javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component:, BC-XI-CON-B2B) Exception raised from invocation of public, throws method on bean instance for bean*xml|*xml|PGPDecryption in application; nested exception is: java.lang.NullPointerException: while trying to invoke the method, java.lang.String, java.lang.Object[]) of a null object loaded from a local variable at slot 4


The file exists on the sftp site, the file is not empty and ive set adaptor to process emptys anyway. cusersgeorge-applegatedesktopconcurerror.png

I can only think that the pgp keys used for BizTalk are somehow not compatible with PI and that I should generate new PI public keys and share them with concur.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 06, 2018 at 12:16 PM

    Hi George,

    You should change the module order. The CallSAPAdapter should be the last.

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded

    • So to sum up :

      1) Incorrect order for the module - decrypt goes first

      2) Specify keyRootPath \\servername\sap_interfaces\security

      3) Imported ownPrivateKey & partnerPublicKey into the b2bic eg \\server:50000\b2bic

      4) specified 'useSecureStore'

      Which then lead to this error "

      PGPException: checksum mismatch at 0 of 20


      5) so checked with business, and the password they'd provided was incorrect. Hmm .

      All works fine now, thankyou :)