Proftpd won't start when using FTP with TLS
FTP without encryption works fine but when I try to enable TLS I get the following error:
Jan 25 21:19:00 freenas notifier: Starting proftpd.
Jan 25 21:19:00 freenas notifier: 2015-01-25 21:19:00,848 freenas.local proftpd44543: fatal: TLSRSACertificateFile: '/etc/certificates/FTP' does not exist on line 52 of '/usr/local/etc/proftpd.conf'
Jan 25 21:19:00 freenas root: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
Jan 25 21:19:00 freenas notifier: /usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd
I have generated one CA and one certificate and selected the certificate for the TLS function.
I am running: FreeNAS-9.3-STABLE-201501241715
#2 Updated by Suraj Ravichandran over 5 years ago
- Status changed from Unscreened to Screened
Something has gone wrong in the creation of your proftp.conf file.
as clearly the "TLSRSACertificateFile:" should point to a specific .crt file (as designed by freenas).
What is the name of the certificate that you created internal using the internally created CA.
Also could you please paste the output of "ls -lah /etc/certificates" in your reply.
Finally, please try to create a new certificate and see if that works.