veledrom 32 Master Poster

Hi,

1. I can connect to vsFTPd server with a local Linux user with ftp and sftp.
2. I can connect to vsFTPd server with virtual users with ftp only.

My question is, can I not use sftp for second option? I did things below but still no luck for vurtual users on SSL. I can provide you whole vsftpd.con file if you are interested.

Thanks in advance.

[bash]# ldd /usr/sbin/vsftpd | grep ssl
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x001bf000)

I created certificate:

[bash]# openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout /etc/ssl/certs/vsftpd.pem -out /etc/ssl/certs/vsftpd.pem

I addedd these into vsftpd.conf:

ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/ssl/certs/vsftpd.pem