Using Operating System supported Ciphers/Keys for FTP/HTTP/SFTP communications in IBM Sterling B2B Integrator using CLA2 Adapter
Overview:
Many a times we come across situations where a certain Cipher/Key required for HTTP/FTP/SFTP communication:
- Is not supported by a given version of IBM Sterling B2B Integrator (ISBI)
- The underlying Operating System can be used (directly or by upgrading/installing a system Library) to provide the required support.
Solution:
The solution is to make use of 'Command Line Adapter 2' Adapter (CLA2), which needs to be configured to be able to execute the required implementation on the underlying OS. This approach will work as long as a native script on the local OS can be used to get the required task completed.
Here, I'll take an example where a given 'SFTP GET' scenario cannot be supported by ISBI.
The approach is to use a native SFTP script/command (on the OS) to fetch the required files from a remote SFTP Server and make the file available as part of the Workflow Data.
Command Used:
curl sftp://127.0.0.1:37039/SFTP_FileToBeRead.txt -u admin:password -k -o ./SFTP_ReadFile_FromRemoteSystem.txt
(We can also write a shell script/batch file for our required implementation. With this option, instead of the above command, we'll have to provide the script name against 'Command Line' while configuring the CLA2 Adapter in ISBI).
CLA2 Adapter Settings:

Workflow Details:
Note: The Read document is available as a 'Primary Document' in the BP and BPML code can be extended to perform any Business scenario, example add the read file to a given Mailbox.

#DataExchange#IBMSterlingB2BIntegratorandIBMSterlingFileGatewayDevelopers