Editing FTPS using Explicit TLS howto (Server)

From FileZilla Wiki
Jump to navigationJump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Configuration ==
Just spent 2 hours trying to get my .co.uk  Hotmail aocnuct working on HTC Desire HD. JUST tried a tip (off another site) of changing my password from 16 to 8 chars      ..it NOW works    Thanks for the tip Here's the tip:seekingmemoses2nd April 2011, 12:50 AMHooray! After hours and hours of searching various web forums, I never found an answer to the question I and several others had on why I could never get the HTC Sense Mail app to log into my Hotmail aocnuct ( Authentication Failed . And then, all of the sudden, I had an epiphany: I had strengthened up my Hotmail password before receiving this new phone and wondered if that was the culprit.My original password was 17 characters long, so I tried using a shorter password (10 characters or less) and SUCCESS!Although I have an Inspire 4g, the same should be true for a DHD or any other phone running Sense 2.It appears that the HTC app is not capable of sending a longer password for verification, and likely chops part of it off when sending to Microsoft.
First, you'll want to create a certificate, this can be used in the Certificate Generator in FileZilla Server. The Generator will want the country code, state, city, etc...
Be as truthful as possible, you only undermine your own credibility if you enter wrong information into the certificate.
The key size for the certificate is chosen at the top of the generator: 1280 bit, 2048 bit, 4096 bit.
The bigger the key size the more secure the certificate and the initial session key exchange on every connection will be. There is however one thing that needs to be taken into account, CPU utilization during the connection handshake. When you apply encryption to your FileZilla server the CPU will have to do many calculations to encrypt the data being sent and decrypt the data being received.
Bandwidth will also play a factor in how much the CPU is being utilized. If you have a slower connection, let's say around 1.5Mbps up you may not have to worry about CPU utilization as much.  The best way to decide is to test.
Please note that FZS needs the paths to the certificate files:
If you generate your own private key and certificate without putting a path in front of the file name, FZS only puts the bare filename in the certificate field without an error notice, but later you will get "Could not load certificate file" errors in the FZS log when someone tries to connect via FTPS/FTPES (Implicit/Explicit).
Therefore always put the full path to the private key and certificate files in their corresponding fields and FZS can find the files.
After you have created the certificate enter its name and folder path location into the "Private key file" field or browse to it. 
If your server has a direct connection to the internet the configuration is simple, check "Enable FTP over TLS support (FTPS)".
More FTPS documentation is available [[FTP over TLS|here]].
== Configure with NAT ==
Please read the [[Network Configuration]] guide for instructions on how to configure the server behind NAT devices (Router, Firewall, etc).
== Enable Explicit FTP over TLS ==
On the TLS settings page check "allow Explicit FTP over TLS."  It is recommended to also check "Disallow plain unencrypted FTP" and "Force PROT P to encrypt file transfers when using FTP over TLS". This will further enforce encryption policies; here PROT "P" is for "Private" as opposed to "C" for clear text. If you only want certain groups or users to have encryption you can set that up in the user or group editor.  If there is data you still want available to the general public the "Force" setting should be disabled in the server settings menu, as you will need an FTP client rather than a web browser to access the FTP server. If using "PROT P - Private", the client may require a matching TLS setting or it may default to PROT C.
Another option you should enable is "Require TLS session resumption on data connection when using PROTP P" as it protects against data connection theft.
Setting up your FTP server in this way allows you to encrypt your data and login information without having to get 3rd party programs. With explicit TLS you will need an FTP client. Internet Explorer and Firefox don't support TLS without special plugins. FileZilla client supports FTPS both implicit (FTPS:// protocol), and explicit (FTPES://).

Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see FileZilla Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)