Skip to Content
avatar image
Former Member

Connect SFTP server to SAP -PI via RSA keys

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 01, 2017 at 06:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • May 04, 2018 at 11:01 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded