-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SSL (FTPS) via environment options #41
Comments
pasv_max_port and pasv_min_port are not related to SSL and have been already supported by environment variables: PASV_MAX_PORT and PASV_MIN_PORT |
SFTP is completely another story where vsftpd isn't needed at all, but support for FTPS (FTP + SSL) can be easily done. Watch my pull request - #42 |
fauria#41 Support SSL(FTPS) via environment variables
Thanks for the quick response on the issue.
Yes, I understand these are already supported. I pasted 2 extra lines while referring from a blog post. Regarding SFTP and FTPS, I was not clear that they both were different things. Now that I read about them, I am editing the issue title. @fauria This issue can be closed once you accept the MR. |
@fauria Any ETA for supporting SSL? |
We need to be careful here to avoid breaking non-SSL deployments. I'll have a look at this ASAP, but can't guarantee an ETA at the time, unfortunately. |
It'd be great to get this FTPS support merged. In the meantime, @artjomsk would you be able to rebase your fork so it includes the recent |
I went ahead and created a fork: markhobson/docker-vsftpd |
Add a way to pass SSL key and certificate to enable Secure FTP (SFTP).
vsftpd supports the following via its conf file:
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
rsa_cert_file=/etc/vsftpd.pem
rsa_private_key_file=/etc/vsftpd.pem
pasv_max_port=65535
pasv_min_port=64000
The text was updated successfully, but these errors were encountered: