Page 1 of 1

Cant connect to FTP if

Posted: Tue Jul 03, 2018 5:48 am
by pipoy
Hi,

I cannot connect to FTP with these settings

Use explicit FTP over TLS if available
Require explicit FTP over TLS
Require implicit FTP over TLS

I can only connect using Only use plain FTP (insecure)

Before I can use them. But I think with the new versions, I seem to cannot establish connection

How can I use Use explicit FTP over TLS if available?

Re: Cant connect to FTP if

Posted: Tue Jul 03, 2018 6:55 am
by Felix
I've seen strange problems with FTP clients like CuteFTP. I suggest you try FileZilla which works like a charm.

Re: Cant connect to FTP if

Posted: Tue Jul 03, 2018 7:14 am
by pipoy
Felix wrote:
Tue Jul 03, 2018 6:55 am
I've seen strange problems with FTP clients like CuteFTP. I suggest you try FileZilla which works like a charm.
Sorry but I forgot to mention that I use Filezilla

Re: Cant connect to FTP if

Posted: Tue Jul 03, 2018 3:43 pm
by pabbae
Yep.. same situation here... I can only use plain text :(

Re: Cant connect to FTP if

Posted: Wed Jul 11, 2018 4:57 pm
by pipoy
anyone?

Re: Cant connect to FTP if

Posted: Wed Jul 11, 2018 6:34 pm
by ScIT
do you have enabled ssl in vsftpd config? (/etc/vsftpd.conf)

Re: Cant connect to FTP if

Posted: Fri Jul 13, 2018 12:00 am
by pipoy
this is my config

Code: Select all

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
dual_log_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
allow_writeable_chroot=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000

Re: Cant connect to FTP if

Posted: Fri Jul 13, 2018 6:47 am
by ScIT
Add this to your config file:

Code: Select all

rsa_cert_file=/usr/local/vesta/ssl/certificate.crt
rsa_private_key_file=/usr/local/vesta/ssl/certificate.key
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
then restart vsftpd service.

Maybe you've to ajust it to your configuration you want to have - for example I do not force ssl.

Re: Cant connect to FTP if

Posted: Sat Jul 13, 2019 3:48 pm
by cybersholt
ScIT wrote:
Fri Jul 13, 2018 6:47 am
Add this to your config file:

Code: Select all

rsa_cert_file=/usr/local/vesta/ssl/certificate.crt
rsa_private_key_file=/usr/local/vesta/ssl/certificate.key
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
then restart vsftpd service.

Maybe you've to adjust it to your configuration you want to have - for example I do not force ssl.
This works well

@ScIT thanks!