Hi Experts,
I have received both public and private keys from business and they are of type RSA-4096 with .ASC extension. The keys are generated by the business using a tool called GPG Keychain on a Mac machine. The keys are deployed on the server in the standard path - /usr/sap/<System ID>/<Instance ID>/sec
When I use them to encrypt the file, the encryption works fine but when I use the keys to decrypt the files, it fails in PI with the error:
com.sap.aii.af.lib.mp.module.ModuleException: File is no valid PGP Message, could not apply decryption.
The decryption is working fine in the tool but it is not working fine in SAP PI. Even a simple encrypted txt file (of extension .pgp) is failing with the above error. The configuration of the module is shown below in the snapshot:

Regards,
Arkesh
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
I think yo need not to mention the Root path if you are using the default /sec path. Please remove root path entry and try once.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.