Welcome to Sign in | Join | Help
in
Home Blog Forums

The Lazy Admin

IIS 7 FTP over SSL

Sponsor


One of the new and long awaited features in IIS 7 is support for FTPS or FTP over SSL.  By default all FTP data is transfered in clear text, including the user name and password.  From a security point of view you can see this is a bad thing.  FTPS to the rescue!  Before you begin you will need to download and install FTP for IIS7 and you can do so here:

The first step is to create the certificate.  You have two options, create a certificate request to process with a 3rd party SSL cert provider and then complete the request by importing the supplied cert, or creating a self signed certificate.  For production systems ALWAYS use a 3rd party cert from a trusted root.  For this setup we will use a self signed certificate so we will start by creating one.

Click on Create Self Signed Certificate called My FTP Certificate…

iis7-ftps-1

Next click on Default Web Site and then double click on FTP SSL Settings.  Select your SSL certificate from the list and then choose Allow SSL Connections. Click Apply and we are almost done!

iis7-ftps-2

We can test it out by connecting to the FTP server with the following command:

ftps localhost

If all goes well we will be connected.  Now we enable SSL with the following command:

SSL on (enter)

bye (enter)

You will be disconnected but you can see that SSL for Commands and SSL for Data is set to on.

iis7-ftps-3

Now that SSL is enabled we have the option to force it by choosing Require SSL Connections.

iis7-ftps-4

Again click apply and if we try and login with:

ftp localhost

We will see the error message that the “SSL policy requires SSL for control channel”.

iis7-ftps-5

If you want to try this out for yourself you can via the TechNet Virtual Labs.

For more information see:

TechNet Virtual Lab: Administering the IIS 7 File Transfer Protocol (FTP) Server





Published Monday, October 27, 2008 9:10 AM by rodney.buike

Comments

 

viper27 said:

This is an excellent feature that has been requested for a long time from the IIS team.  Do you know if it will also do FTP SSH?  There are a number of organizations that prefer to deal with SSH as the standard.

October 28, 2008 10:43 AM
 

rodney.buike said:

Not that anyone has announced.

November 7, 2008 10:40 AM
Anonymous comments are disabled

This Blog

Powered By

 

Syndication

Sponsors

  
Get a free 5GB e-mail account @isalazyadmin.com

Certifications & Awards




All postings are provided "AS IS" with no warranties, and confer no rights.
Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.