Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in FTPS receiver Adapter "Peer sent alert: Alert Fatal: handshake failure"

Dear All,

I have a scenario(without ESR configuration) where I have to transfer vendor payment text file to Bank FTPS server using file adapter(FTPS) using SSL certificates provided by the the bank.

I have created a sender file adapter(without FTPS and certificates) to pickup the file from source directory and completed the other required configuration.

Also I have created the receiver communication channel with FTPS and completed all the required configuration.

Please see the below screen shot  for the sender and receiver communication channel.

  1. Sender Communication channel config.

2. FTPS Receiver Communication Channel configuration.


for SSL certs I have created the CSR from the Portecle  tool recommended by bank, and bank has given signed certificates and other certificates chain after sending them the CSR, which I have imported in the keystore service_ssl.


However, I am getting the below exception at receiver channel monitoring level. I have tried by putting the certs and private keys in TrustedCAs as well, but I am facing the same exception.


"Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure"


I have gone thorough many blogs and thread on SCN for the same error but nothing seems to be working in my case.


Please suggest.

 


Thanks,

Farhan

Former Member
Former Member replied

Dear All,

This issue has been resolved by changing the host name instead of IP , because in certificate host name has been provided and its been validating based on host name in certificate.

Thanks,

Farhan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question