cancel
Showing results for 
Search instead for 
Did you mean: 

Error in PGP Decryption Module

Former Member
0 Kudos

Hi All,

We have a SFTP (PGP) to Proxy scenario, The interface was working fine and now we have an issue with PGP decryption, The Decryption module was not able to decrypt the file and we are getting the error:

"PGPDecryption Module: Error: java.lang.Exception: Key with name XXXX.asc not found in PGP Secure Store.. Cause: Check private key password". Their was no change in the communication channel and also private key was found in the secure file path.

Please let us know what went wrong suddenly.

Accepted Solutions (0)

Answers (6)

Answers (6)

Usharsree_7999
Participant
0 Kudos

Hi Sivakumar,


please refer to this blog

https://blogs.sap.com/2012/04/10/pgpdecryption-a-simple-how-to-guide/

Thanks

Ushasri

former_member795680
Discoverer
0 Kudos

Hi sivakumarc712

sivakumarc712

are you able to solve it?

we are facing the same issue

PavanKumar
Active Contributor
0 Kudos

Hi,

If the interface already working fine before and you are facing this issue with specific file,just check with partner to whom you have shared public key and make sure that they are using same public key for encrypting.

As error it self clearly stating that it couldn't able to find out private key for the file associated with the public key used for encryption of that file.

Regards

Pavan

manoj_khavatkopp
Active Contributor
0 Kudos

Can you show the Module configurtaion ?

Former Member
0 Kudos

Hi Pavan,

The password, Public Key, Private Key seems to be correct as we have tested this manually.

Not sure why PI is throwing this error: "PGPDecryption Module: Error: java.lang.Exception: Key with name XXXX.asc not found in PGP Secure Store.. Cause: Check private key password".

I Get the same error when I repeated the scenario in PI DEV.

Any suggestions ?

PavanKumar
Active Contributor
0 Kudos

make sure you have given right password for your private key in the module configuration.