Setting FTP and SFTP Ciphers and Hashes
You can set the supported ciphers and hashes by editing the web.xml file.
Procedure
-
To view a list of the ciphers that
TIBCO MFT Internet Server supports in your environment, navigate to your web server’s standard out log,
stdout.log located in the
MFTIS_Install/server/logs directory.
-
Start the MFT FTP or SSH servers if they are not already running.
For information on starting and stopping the MFT FTP/SSH servers, see TIBCO Managed File Transfer Internet Server User's' Guide.
- Go to your web server standard output log and open it with any available text editor.
-
Search for one of the following text strings:
i. FTP Server – supported ciphers ii. SSH Server – supported ciphers iii. SSH Server – supported hash
-
Start the MFT FTP or SSH servers if they are not already running.
-
By default,
TIBCO MFT Internet Server supports all ciphers contained in the log file. Once you have viewed the supported ciphers listed in your log file, you can limit which ciphers or hash algorithms are used by
TIBCO MFT Internet Server by performing the following steps:
- Stop your application server.
- Navigate to this directory: MFTIS_Install/server/webapps/cfcc/WEB-INF/.
- Open the web.xml file using any available text editor.
-
At the top of the file, you will see the following parameters sections:
<context-param> <param-name>TLSCipherSuite</param-name> <param-value/> </context-param> <context-param> <param-name>SSHCipherSuite</param-name> <param-value/> </context-param> <context-param> <param-name>SSHDigestSuite</param-name> <param-value/> </context-param>
The following example limits the ciphers and hash algorithms that will be used by TIBCO MFT Internet Server. Multiple ciphers and hash algorithms can defined by separating each ciphers or hash algorithms with a comma:<context-param> <param-name>TLSCipherSuite</param-name> <param-value>SSL_RSA_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_AES_256_CBC_SHA</param-value> </context-param> <context-param> <param-name>SSHCipherSuite</param-name> <param-value>aes192-cbc,aes256-cbc</param-value> </context-param> <context-param> <param-name>SSHDigestSuite</param-name> <param-value>hmac-sha1</param-value> </context-param>
- Restart your application server.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.