Microsoft
Software
Hardware
Network
Question : Settings up vsftpd and ssl?
Hi,
I am trying to set up a ftp server on ubuntu 10.04. I am using vsftpd as ftp server. The following configuration file is used:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.
user_list
secure_chroot_dir=/var/run
/vsftpd/em
pty
ssl_enable=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
debug_ssl=YES
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/cer
t/my-ftp-c
ert.pem
When setting ssl_enable=YES then I cannot start my server. When trying to start I get no error message. Neither If run with init script as bellow:
sudo /etc/init.d/vsftpd start
[sudo] password for user1:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start vsftpd
vsftpd start/pre-start, process 5498
or with upstart:
sudo service vsftpd start
vsftpd start/pre-start, process 5543
If I then run ps -aux | grep vsftpd I get nothing.
In the syslog I get the following message:
May 18 19:05:46 PC init: vsftpd main process (5572) terminated with status 1
May 18 19:05:46 PC init: vsftpd respawning too fast, stopped
May 18 19:06:25 PC wpa_supplicant[3548]: WPS-AP-AVAILABLE
If I try to run sudo /usr/sbin/vsftpd I get:
500 OOPS: SSL: cannot load RSA certificate
I have tryed a number of tutorials to generate the ssl certificate. One that I have tried is this:
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout server.key -out server.crt
cat server.key server.crt > /etc/vsftpd/server.pem
But nothing works. Any ides?
Answer : Settings up vsftpd and ssl?
I pushed the submit button to fast. What I was saying was that I changed the path for the pem file and now I it works. I must have srewed up the file name.
Random Solutions
Help needed with to script Robocopy
javascript: set value of form file input
Trying to create a grid-paper like grid in java...
insert current filename as variable into href statement
Help formating a output in Powershell
Can I purge trash on exit?
VBS persistant drive mapping
where i can download window xp 64 bit edition CD from internet ?
How to sort sites in history as last used in IE 8?
Can someone please how me how to merge two sorted linked lists in c#? It's for interview btw..