Skip to Content
0

Connect SFTP server to SAP -PI via RSA keys

Mar 01, 2017 at 03:49 PM

143

avatar image

HI Team,

We are trying to establish a SFTP (SSH ) connection from PI to one of External interface we have. Currently we have password based authentication setup but we want to change that to key(RSA ) based.

Interface functionality - PI will pull and push the file to the external server.

Process followed:

We have created a .pub key ( Public key ) generated in PI environment and provided it to External party to install in there SSH Server. And then they provided us with there Public key which should go in to NWA of SAP PI.

But since PI will not understand the OPENSSH (.pub) format we need to convert in to .p12 or .pem format and we are facing problem while doing that and we need help on that regards to how to convert the public key to private key where we can import in NWA. Please help

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

2 Answers

Manoj K Mar 01, 2017 at 06:07 PM
0

what you are doing is wrong! Just create a private (.p12) and public (.pub) share public key with third party and configure private key in your channel this is enough

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

The SSH Connection to be established from the external vendor and since here we are pulling the Data and pushing the data unless we dont have authentication to enter there SSH Server ( either by Password or Key ) we cannot communicate. So for that reason we need to created one private and public key which goes in our Key store and provide them the Public key. And they will provide us there public key which we need to import in NWA and give the details in Communication channel ( Sender or Receiver adapters ).

0
And they will provide us there public key which we need to import in NWA and give the details in Communication channel ( Sender or Receiver adapters ).

Why do you need this ?

The first part:

So for that reason we need to created one private and public key which goes in our Key store and provide them the Public key

This is enough for SSH authentication.

0
Reddy Srikanth May 04 at 11:01 AM
0

1) Use PuTTYgen to convert.

2)Load .ppk or .pub key

3) Choose “export open SSH key” from conversions tab

4) save as .pem file

5) Create .p12 file using openssl.

Share
10 |10000 characters needed characters left characters exceeded