FTP connection over TLS failed with the following error in
2015-11-04 15:14:15,931 mod_tls/2.6: TLS/TLS-C requested, starting TLS handshake
2015-11-04 15:14:36,868 mod_tls/2.6: unable to accept TLS connection: received EOF that violates protocol
2015-11-04 15:14:36,868 mod_tls/2.6: TLS/TLS-C negotiation failed on control channel
This behavior is usually be 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)
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)
vi' 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.