- Plesk for Linux
FTP connection over TLS failed with the following error in
CONFIG_TEXT: mod_tls/2.6: TLS/TLS-C requested, starting TLS handshake
mod_tls/2.6: unable to accept TLS connection: received EOF that violates protocol
mod_tls/2.6: TLS/TLS-C negotiation failed on control channel
This behavior is usually observed if the server is behind a router or firewall that inspects packets on the default port 21 (for example ISA does not support FTP with TLS).
Note: by default, TLS for FTP is enabled on a Plesk server. Before proceeding further, make sure that TLSEngine is enabled in
There are two possible solutions:
Disable filtering on the router/firewall/ISA server for 21 port.
Change ftp port in
/etc/servicesto another (for example to 2121)
/etc/servicesusing any text editor and change the port for ftp to 2121 for both tcp/udp protocols.
# vi /etc/services
It should look like the following:
# cat /etc/services | grep 2121 | grep ftp
Restart xinetd service
# service xinetd restart
Check the FTP connection using new port.