Ok, I just worked it out:
Make your proftp secure by using tls
# look for compiled moduls:
/usr/sbin/proftpd -l
Quote:
Compiled-in modules:
…
mod_tls.c
…
|
--
# if not --> compile proftp with tls :
Quote:
./configure --with-modules=mod_tls
make
make install
|
--
# create ssl-certificate
Quote:
mkdir /etc/ssl_proftp
openssl genrsa 1024 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha1 -days 365 -key host.key > host.cert
|
# change proftpd.conf tls according to
...
Quote:
# TLS
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd_tls.log
TLSProtocol TLSv1
TLSRequired off
TLSVerifyClient off
TLSRSACertificateFile /etc/ssl_proftp/host.cert
TLSRSACertificateKeyFile /etc/ssl_proftp/host.key
</IfModule>
|
…
# restart proftp
/etc/init.d/proftpd restart
# The ftpclient (with the abillity to use tls) should show that while connecting:
## that’s all :-)
Info:
Syntax: TLSRequired on|off|ctrl|data
#Don't use a specific ssl certificate. To start you shold use that
TLSRequired off
# Require SSL/TLS on the control channel, so that passwords are not sent
# in the clear.
TLSRequired ctrl
# Require SSL/TLS on both channels.
TLSRequired on
Recent comments
1 day 15 hours ago
1 day 23 hours ago
2 days 2 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 9 hours ago
3 days 1 hour ago
3 days 2 hours ago