Networking
--
Questions
--
Followers
Top Experts
I have CentOS and VSFTPD installed.
I want to use FTP for only SSL/TLS connection type.
I have generated certificate, loaded necesary module for iptables, opened ports, configured VSFTPD but I get this error:
GnuTLS error -8: A record packet with illegal version was received.
I tried out this articled but nothing helps:
http://www.bfccomputing.com/vsftpd-configuration-for-tls-and-passive-mode/
http://blogs.reliablepenguin.com/2012/03/08/passive-mode-ftp-with-iptables
Thanks for suggestion!
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If so, you need to enable ssl after making the connection;
$ lftp -e 'set ftp:ssl-force true' yourserver
This might also help:
https://forum.filezilla-project.org/viewtopic.php?f=6&t=16463
For the config:
http://www.cyberciti.biz/tips/configure-vsfptd-secure-connections-via-ssl-tls.html
Yes i connect with FileZilla to server over internet. I only alowe SSL connections.
To debug this, please try from your client computer:
telnet yourserver 21
openssl s_client -connect yourserver:21
gnutls yourserver 21
Is one or all of those working? Eg, you getting some useful output)Also, it might help if you post part of your vsftpd config






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
CONNECTED(00000003)
140051988035400:error:1407
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 112 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
Seems like I have problem with certificate? :S
Did you try lftp?
lftp -e 'set ftp:ssl-force true' secureftp-test.com
lftp secureftp-test.com:~>
Do this with your server.
And: Are you sure you use FTPS and not SFTP?
Hmm whats the difference between FTPS and SFTP. I use implicit FTP over SSL option in Filezilla.
This is part of conf file for VSFTPD:
tcp_wrappers=YES
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
# Select which SSL ciphers vsftpd will allow for encrypted SSL connections (required by FileZilla)
ssl_ciphers=HIGH
rsa_cert_file=/etc/vsftpd/
pasv_min_port=50000
pasv_max_port=50064

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If so, there is a misconfig in FileZilla (?)
You are using FTPS; not sftp. SFTP is completely different: it is FTP via ssh using port 22 while your config is FTPS.
http://ramblings.linkerror.com/?p=45
Networking
--
Questions
--
Followers
Top Experts
Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.