Author Topic: FTP TLS Connection Error  (Read 9670 times)

ToHrn

  • Newbie
  • *
  • Posts: 4
    • View Profile
FTP TLS Connection Error
« on: July 09, 2023, 22:22:50 »
Hi,
I have a problem with connection to FTP server.
I attached a screenshot with settings and below is a log with an error I get during connection:

2023-07-09 18:40:44 = Connection to site: ftp.***.pl on port 6921
2023-07-09 18:40:44 < 220 (vsFTPd 3.0.2)
2023-07-09 18:40:44 > AUTH TLS
2023-07-09 18:40:44 < 234 Proceed with negotiation.
2023-07-09 18:40:44 = Failed to initialize security context. (Error : 87) Parameter is incorrect.
2023-07-09 18:40:44 = Unknown return code

I've tried to connect to this FTP server in Total Commander, but it couldn't connect, giving no error. Connection is successful only in WinSCP and FileZilla.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4407
    • View Profile
    • Multi Commander
Re: FTP TLS Connection Error
« Reply #1 on: July 11, 2023, 07:08:49 »
Often this happens because it fails to enabled a TLS connection.

MC is using built in Windows functions for TLS negotiation, Not OpenSSL (that the others are using), (Support for OpenSSL is planed for the future..)

Problem is that MC is depending on what chiphers Windows support or has enabled, Windows support most of them but some of them that are not considers fully safe are disabled by default.
It is possible to enable them. With this tool https://www.nartac.com/Products/IISCrypto/ you can modify that, But then you must know exactly what Chipers combination you need.

ToHrn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FTP TLS Connection Error
« Reply #2 on: July 16, 2023, 22:36:30 »
Mathias thanks for your reply :D.
I hope, you will add support for OpenSSL as soon as possible :).
For me MC is the best file explorer in every way. I use it every day, all the time, at home and at work, and it's nice to see, that it becomes more and more complete :).