To create a self-signed certificate, you can use the following commands :
mkdir -p /etc/ssl/private
openssl req -x509 -nodes -newkey rsa:1024 -keyout \
/etc/ssl/private/pure-ftpd.pem \
-out /etc/ssl/private/pure-ftpd.pem
chmod 600 /etc/ssl/private/*.pem
How to enable resume in ftp
ReplyDeleteAllowRetrieveRestart on
AllowOverwrite on
AllowStoreRestart on
Setting Up Secure FTP server
ReplyDelete----------------------------
Your ftp directory should be in /home/ftp.
Make sure that the user ftp has /bin/false for shell.
While in the /home directory logged in as root do the following.
chmod 555 ftp
chmod 111 ftp/etc
chmod 111 ftp/bin
chmod 111 ftp/bin/*
chmod 444 ftp/etc/*
chmod 555 ftp/pub
chmod 555 ftp/usr
chmod 555 ftp/lib
chmod 1733 ftp/incoming
touch ftp/.rhosts
touch ftp/.forward
chmod 400 ftp/.rhosts
chmod 400 ftp/.forward