FTP doesn't support all ciphers / signature hash algorithms and only supports

0
Hello, Our requirement to connect to FTP server with certificate using TLS Cipher Suite **ECDHE-RSA-WITH-AES-256-GCM-SHA384**. But when I am trying to connect to FTP server with config **client.Config.AllowedCipherSuites = TlsCipherSuite.All**; I am seeing through Wireshark it only supports next ciphers during Client Hello handshake protocol: - RSA-PKCS1-SHA256 - RSA-PKCS1-SHA384 - RSA-PKCS1-SHA512 - RSA-PKCS1-SHA1 - SHA1 DSA And server closing connection because client doesn't support correct algorithm hash. When I am trying to specify to use **ECDHE-RSA-WITH-AES-256-GCM-SHA384** as **client.Config.AllowedCipherSuites = TlsCipherSuite.ECDHE-RSA-WITH-AES-256-GCM-SHA384;**, then wireshark show no available signature algorithms. I am using latest component pro version 7.2.238 Please let me know how to add support of other signature algorithms including **ECDHE-RSA-WITH-AES-256-GCM-SHA384** ----------
ftp
edited 12/22/2021 11:22:44 PM
asked 12/22/2021 11:21:43 PM
add a comment

2 Answers

0
Hi Martin, Unfortunately looks like Component Pro doesn't support all Ciphers. When I set client.Config.AllowedCipherSuites = TlsCipherSuite.All, wireshark shows only 5 of them: - RSA-PKCS1-SHA256 - RSA-PKCS1-SHA384 - RSA-PKCS1-SHA512 - RSA-PKCS1-SHA1 - SHA1 DSA But when I using System.Net.FtpWebRequest or WinSpc library in total 23 ciphers shows in wireshark. I contacted ComponentPro and they said they will support all other ciphers in next release...
 
answered 1/4/2022 12:37:12 AM
add a comment
0
Please check [https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-SslConfigBase-AllowedCipherSuites][1] Gets or sets the group of allowed cipher suites. Here you can see [https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-TlsCipherSuite][2] Specifies the set of desired cipher suites. This is Ultimate SFTP for .NET library [1]: https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-SslConfigBase-AllowedCipherSuites [2]: https://doc.componentpro.com/ComponentPro-Sftp/ComponentPro-Net-TlsCipherSuite
 
answered 12/28/2021 5:44:03 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ftp or ask your own question.