This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Ubuntu: How to Enable tls/ssl in proftpd
Ubuntu: How to Enable tls/ssl in proftpd
How to Enable tls/ssl in proftpd

Make folder to SSL

1: Create SSL Folder
mkdir /etc/proftpd/ssl

2: Generate ssl certificate

openssl req -new -x509 -days 365 -nodes -out /etc/proftpd/ssl/proftpd.cert.pem -keyout /etc/proftpd/ssl/proftpd.key.pem


Generating a 2048 bit RSA private key
writing new private key to 'proftpd.key.pem'
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:New York
Locality Name (eg, city) []:NYC
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Name of company
Organizational Unit Name (eg, section) []: just press enter
Common Name (e.g. server FQDN or YOUR name) []: website name
Email Address []:Email

3: Enable TLS In ProFTPd

edit proftpd.conf

nano /etc/proftpf/proftpd.conf

on liste line add

Include /etc/proftpd/ssl.conf

save and exit

4: make ssl.conf

nano /etc/proftpd/ssl.conf
<IfModule mod_dso.c>
   LoadModule mod_tls.c

<IfModule mod_tls.c>
   TLSEngine                  on
   TLSLog                     /var/log/proftpd/tls.log
   TLSProtocol                SSLv23
   TLSOptions                 NoCertRequest AllowClientRenegotiations NoSessionReuseRequired
   TLSRSACertificateFile      /etc/proftpd/ssl/proftpd.cert.pem
   TLSRSACertificateKeyFile   /etc/proftpd/ssl/proftpd.key.pem
   TLSVerifyClient            off
   TLSRequired                on
save and exit

5: restart proftpd

/etc/init.d/proftpd restart

now you can use tls/ssl

in filezilla type ftps://website.tld
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Thanks given by: scriptcode , iraqiboy90

Messages In This Thread
Ubuntu: How to Enable tls/ssl in proftpd - by Diablo925 - 07-23-2014, 08:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Upgrade to Ubuntu 16.04 from 14.04 HogensHero 8 28 ,152 07-18-2020, 03:13 AM
Last Post: dycott78
Ubuntu 18.04 or 20.04 Kangarooo 1 6 ,439 03-20-2020, 11:39 AM
Last Post: Jettaman
Ubuntu: How to setup TLS on postfix and dovecot Diablo925 28 109 ,822 02-15-2018, 08:46 PM
Last Post: duane

Forum Jump:

Users browsing this thread: 1 Guest(s)