cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Server Fingerprint invalid

sateesh_adma
Participant
0 Kudos

Hello All,

We are using SFTP and PGP in our project, and facing below issue when sending a file to target sftp server.

Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.jschexception:fingerprint invalid

We have created private and public ssh keys and private and public pgp keys and shared our public ssh keys and public pgp keys.

And in return bank provided us their public pgp key and we are using that in our SFTP receiver channel.

And also we have imported our private keys into keystore and using that in channel. please find below receiver cc configuration

module config:

What could be the problem for this issue, as we are using correct fingerprint only.

Thanks,

Sateesh Adma

Accepted Solutions (1)

Accepted Solutions (1)

sateesh_adma
Participant
0 Kudos

Hello All,

thanks for replying , issues is resolved.

We have restarted the PI server ,so it is working now.

Thanks,

Sateesh

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Hello,

The error logs clearly state finger print invalid and provides the finger print presented by the server.

Use this Finger print in the communication channel and test the same.

Regards

Bhavesh

Harish
Active Contributor
0 Kudos

Hi Sateesh,

you need to put server finger print on the communication channel. You need to ask SFTP server admin for that info but then an easier option might be to use a client like CoreFTP. Provide the server host, user and pwd and try to login via the client.

refer the below blog

regards,

Harish

sateesh_adma
Participant
0 Kudos

Hello Harish,

Thanks for your reply

We got the finger print details from server admin and we are using that only.As we are using privatekey based authentication we don't have pwd to test.

Any other pointers ?

Thanks,

Sateesh Adma

former_member186851
Active Contributor
0 Kudos

Hello Sateesh,

I guess your PGP module should be moved to first as the file should be first decrypted before processing.