cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FTPS connectivity via File Adapter

former_member354078
Participant
0 Likes
573

Hi T eam,

I have existing interface SAP ECC-> PI-> File. Currently, this interface is working smoothly via FTP protocol. Now FTP provider has confirmed that, they won't allow any FTP connections and need FTPS.

For this change I have already taken below action:

1. I have imported FTP provider certificates in TuestedCA of PI.

2. Updated receiver channel config with security = FTPS (for data and connection) and with the default sequence

3. Opened firewall connections for port range 41000 to 41100.

After this, I was getting the error as 'iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier' - [channel is with hostname(not ip address) and same is there in certificate starting wild * character.

4. After that,I have added parameter strictHostnameChecking = FALSE and after that I am gettting below error :

File processing failed with java.lang.IllegalStateException: Error during STOR/APPE epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 522 Unexpected reply codeSSL connection failed: session reuse required

Accepted Solutions (0)

Answers (1)

Answers (1)

apu_das2
Active Contributor
0 Likes

Run xpi_inspector and checked if it is suggesting you valid intermediate and client certificate or not. If suggest then import the same in Trusted CAs.

Additionally if possible use IP address instead of host name in CC.

nila005
Discoverer
0 Likes
Hi, was your issue solved? if yes, would you be so kind to share the solution? We have exactly the same problem..