PGP public key encryption: How to use this in PO

Feb 21, 2018 at 03:56 AM|69 Views

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.

Add comment

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.