Support / KnowledgeBase

 
Search the KnowledgeBase Search

Configuring your FTP server to use TLS or SSL

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 15 minutes

  • Tools needed: SSH, vi knowledge

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: SSH, root or sudo access, vi knowledge

Overview

This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this article, we encourage you to check their original article. Keep in mind that this content is subject to change.

READ ME FIRST

The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please take a moment to review the Statement of Support.

Solution

Plesk's ProFTPd sever has a compiled-in mod_tls.c module for SSL support. SSL support can be configured in /etc/proftpd.conf for example in the following way:

<IfModule mod_tls.c>

    TLSEngine on

    TLSLog /var/log/tls.log

    TLSProtocol SSLv23



    # Are clients required to use FTP over TLS?

    TLSRequired off



    # Server's certificate

    TLSRSACertificateFile /usr/local/psa/admin/conf/httpsd.pem

    TLSRSACertificateKeyFile /usr/local/psa/admin/conf/httpsd.pem



    # Authenticate clients that want to use FTP over TLS?

    TLSVerifyClient off



    # Allow SSL/TLS renegotiations when the client requests them, but

    # do not force the renegotations.  Some clients do not support

    # SSL/TLS renegotiations; when mod_tls forces a renegotiation, these

    # clients will close the data connection, or there will be a timeout

    # on an idle data connection.

    TLSRenegotiate required off

  </IfModule>
   

The values in TLSRSACertificateFile and TLSRSACertificateKeyFile are options you can use for the Plesk certificate. For example, use /usr/local/psa/admin/conf/httpsd.pem or your own.

Resources


User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue