Skip to Content

PGP public key encryption: How to use this in PO

Feb 21 at 03:56 AM


avatar image

Hi PI experts,

I got a requirement, in which I have to send the encrypted file to 3rd party vendor. And they have provided .asc file for public key. Please let me know the steps, how I can use this file to encrypt the file and how can I get the public key which needs to be provide in PGPEncryption module.

Thanks in Advance.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Pavan Dogiparthy Feb 21 at 07:23 AM


Please refer below blogs, you need to deploy PIB2BPGP MODULE in order to work with PGP get this done from the BASIS team.



Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Pavan,

I am aware about to use encryption/decryption modules in PI channel. I am concern only for basis activity, how the key files will install in PI system, so that PI guy can use in their module. Vendor provide me the a PGP public key file in .asc extension, so now how I will use this to encrypt the file.




Hello Ankur,

If you have already generated the keys(public and private keys) using any of the free ware tools and you also had the key of partner public key provide the same to your basis team they will keep in the Server OS location.

By default, the keys can be placed under the path usr/sap/<System ID>/<Instance ID>/sec. But in case you want to use a different path, then use the parameter keyRootPath to define your custom path.

You can mention the public key name of .asc file in your PGPEncryption module parameter partner public key.

Once keys placed and used the name of key during file transformation the file will get encrypted.