Configuring SFTP
- Execute the following command by navigating to
<Deliver_Home>/tools from command prompt to expose
ftpProtocol property on UI.
./switch_config_visibility.sh / bat -p "Affinium|Deliver|serverComponentsAndLocations|hostedServices|ftpProtocol" -v true
- Log in to Platform and navigate to Settings > Configuration and select SFTP for ftpProtocol at Affinium|Deliver|serverComponentsAndLocations|hostedServices.
- Execute the following command by navigating to
<Deliver_Home>/tools from command prompt to expose
ftpPort property on UI.
./switch_config_visibility.sh / bat -p "Affinium|Deliver|serverComponentsAndLocations|hostedServices|ftpPort" -v true
- Mention port number as
2222
for ftpPort at Affinium|Deliver|serverComponentsAndLocations|hostedServices. - Keep the value for
enforceKnownHostsValidation
tofalse
, update the path as <Deliver_HOME>/Conf/known_hosts forknowHostsPath
property.For example:
knowHostsPath - /opt/HCL/Campaign/Deliver/conf/known_hosts
enforceKnownHostsValidation - False
- Optional. In case you have the known_hosts file, update its complete path for
knowHostsPath
property atAffinium|Deliver|serverComponentsAndLocations|hostedServices
and setenforceKnownHostsValidation
totrue
. - Copy private certificate file (id_rsa) to <DELIVER_HOME>/conf
and update the complete Path for this private certificate file in
pemFilePath
property at Affinium|Deliver|partitions|partition1|hostedAccountInfo.For example
pemFilePath – /opt/HCL/Campaign/Deliver/conf/id_rsa
amDataSourceForSftpPassPhrase--
SFTP_PASSPHRASE_DATASOURCE
- In case you had specified passphrase, while generating public/private keys,
create a datasource with name
SFTP_PASSPHRASE_DATASOURCE
under Platform user specified atamUserForAcctCredentials
(example: asm_admin) and specify same password / passphrase to this datasource, which you have used while generating public/private keys. Datasource login can be mentioned as any text. - In case you did not specify any passphrase while generating public/private
keys, you are not required to create this datasource
SFTP_PASSPHRASE_DATASOURCE
to asm_admin user or any other user. - Restart App server for Campaign.
- Open command prompt, navigate to <Deliver_home>/bin and
test SFTP connectivity using rlu , as following.
rlu.sh / bat -c