cancel
Showing results for 
Search instead for 
Did you mean: 

PGP Encryption

vishnu_pallamreddy
Contributor
0 Kudos

Hi All,

I have  scenario where I need to pick the file from ECC AL11 and place it in SFTP folder.

I need to encrypt the file.

So i have a doubt?

In which channel I mean sender file or receiver SFTP I should maintain PGP encryption module parameters?

Please help me.

Thanks & regards,

Vishnu Pallamreddy.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

In the receiver SFTP channel.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

As of now I have Key and Encryption type.

is there any thing to need for encryption?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

Yes,That should be sufficient.

You can refer the below link as well

vishnu_pallamreddy
Contributor
0 Kudos

Thanks Raghu.

I have one more doubt.

I need to pick the .csv file from ECC al11 path.

So I need to use file channel right? and no need of FCC parameters right?

Receiver SFTP adapter right? and no need of Transform Beans right?

So no need of mapping right when encrypting?

Why because I am encrypting file.

.csv files can encrypted? I mean is it possible to encrypt the .csv Files?

I am going to create ICO. ICO is better right if there is no Mapping?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

If your ECC is mounted in PI then NFS can be used.

For XML file and pass through scenario no FCC, if its CSV you need FCC.

Mapping depends on requirement if you have any structure transformation then go with mapping.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

Actually I need to place the same file as it is in SFTP.

Even though I need mapping?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

Then there is no need of mapping.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

I have public key of my external system.

Now what I have to do?

like where I need to place that file. it should be AL11 of PI system right?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

keys should be deployed in PI,

Refer the below link

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

My partner system gave me a file that is PGP key file.

My basis guy going to import that thing into PI.

the file name is SFPGPKey_C0010898073T1.pub

is it correct.?

now I need to encrypt the files.

Can we encrypt 10 files in one channel that is Receiver sftp adapter.?

for partnerPublicKey parameter I need to provide value as SFPGPKey_C0010898073T1.pub right?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

I am not sure of the .PUB file,hope it will work.

Encrypting 10 files in one channel,Each file will be send separately then you can encrypt.

For more details you can refer the link which I shared(willam lee's blog).

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

Actually I need pick 10 files at a time and need to encrypt and place them in SFTP.

is it possible in this situation?

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

where we need to import the partner public key?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

You should place in the folder

keyRootPath = <file directory of the private and public keys>

and define the same in the channel module

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

PGP encryption possible only with SFTP adapter ?

we can do PGP encryption with file adapter?

is it possible to do encryption for .csv files?

former_member186851
Active Contributor
0 Kudos


Hello Vishnu,

I guess only SFTP adapter supports PGP.

yes,you can encrypt.

vicky20691
Active Contributor
0 Kudos

Hi Vishnu,

I am little late on this.. Yes as raghu share blog you have got the encryption method.

Yes, it can encrypt csv files. and yes, File channel /FTP also supports PGP encryption.

regards,

Vikas

vishnu_pallamreddy
Contributor
0 Kudos

Thankk you vikas...

vishnu_pallamreddy
Contributor
0 Kudos

can i place public key on desktop

I am getting error like public key not found

vicky20691
Active Contributor
0 Kudos

Hi Vishnu,

You mean to say desktop of server? you can go to the installation folder of SAP PI on the server. If your server is windows you can place it at default location - usr/sap/<systemid>/J<inst num>/sec

or, you can create any folder in the installation drive and give the path in the PGPEncryption module.

regards,

Vikas

Answers (0)