FTP Connection issues TLS "ECONNABORTED"

  • Hi,


    I'm unable to connect to my ProFTPD Server with Filezilla.
    I got the following error:


    I checked the cert.pem of the Domain without any errors.

    service proftpd status says:

    Code
    1. Mai 04 08:10:54 malta1264 proftpd[24512]: 85.25.xxx.xxx (85.16.xxx.xxx[85.16.xxx.xxx]) - FTP session opened.
    2. Mai 04 08:10:54 malta1264 proftpd[24512]: 85.25.xxx.xxx (85.16.xxx.xxx[85.16.xxx.xxx]) - mod_tls/2.6: unexpected OpenSSL error, disconnecting

    The ftp_ssl.log says:

    Code
    1. 2022-05-04 08:10:54,057 mod_tls/2.6[24512]: TLS/TLS-C requested, starting TLS handshake
    2. 2022-05-04 08:10:54,092 mod_tls/2.6[24512]: unable to accept TLS connection: received EOF that violates protocol
    3. 2022-05-04 08:10:54,092 mod_tls/2.6[24512]: panic: SSL_ERROR_SSL, line 4540:
    4. (1) error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
    5. 2022-05-04 08:10:54,092 mod_tls/2.6[24512]: unexpected OpenSSL error, disconnecting

    The SSL Section of the proftpd.conf looks like this:

    Can anyone help?

  • Maybe... the TLS version on the FTP Server is not high enough for the (new) FileZilla Client.


    Try lowering the expected TLS-Version in the FileZilla-Settings (first Settings dialog).


    but maybe it's another problem....


    /Joxi

  • Looks like it is working?

    Code
    1. openssl s_client -crlf -tls1_2 -connect malta1264.startdedicated.de:21 -starttls ftp

    Did you forget to restart the service?

  • Seems ok.
    Filezilla hast min. TLS 1.2

    Looks like it is working?

    Code
    1. openssl s_client -crlf -tls1_2 -connect malta1264.startdedicated.de:21 -starttls ftp

    Did you forget to restart the service?

  • The TLS-Connection (OpenSSL Output) seems ok. I had a look at your configuration and I don't think you need to configure:

    Code
    1. TLSCACertificateFile /etc/imscp/isrgrootx1.pem

    I suggest to try it again after commenting out this entry.