cancel
Showing results for 
Search instead for 
Did you mean: 

Key based authentication issue in SFTP adapter

Former Member
0 Kudos

Dear Experts,

We have a scenario ECC -->SAP PI 7.0-->SFTP server where we are trying to connect to the SFTP server with a Advantco(3rd Party) SFTP adapter. We have placed our private key in a local folder in PI server (not using Net Weaver Key Store) and shared corresponding OpenSSH public key to the trading partner maintaining the SFTP adapter. However, while trying to connect the server through PI, we are getting “com.jcraft.jsch.JSchException: Auth failerror. Our basis team has confirmed that the SFTP server is reachable when they are trying manually having the same key-pair, but only our SFTP adapter is not able to connect.

Could you please tell me if we are missing any part of configuration? Like any specific location we need to place the private key in PI server?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It's solved now. there was some problem related to passphrase we were giving at the time of generating the key. We have generated a key pair without passphrase and the adapter can reach the target SFTP server properly.

Thanks,

Soham

Former Member
0 Kudos

Hi Soham,

I am stuck with the same error. But in NWA, for PKCS12,we can't skip the password, its mandatory. How to proceed in this case.

Kindly suggest.

Answers (0)