Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    11

    Default ProFTP and TLS/SSL

    Everything works fine from every location and ISP I have access to, however, a client cannot connect and the following error shows up in /var/log/secure:

    Feb 2 13:57:07 sunray proftpd[21681]: sunray.XXXXX.com (999.999.999.999[999.999.999.999]) - mod_tls/2.1.2: unexpected OpenSSL error, disconnecting
    Feb 2 13:57:07 sunray proftpd[21681]: sunray.XXXXX.com (999.999.999.999[999.999.999.999]) - mod_tls/2.1.2: SSL_shutdown error [1]: (unknown)
    Feb 2 13:57:07 sunray proftpd[21681]: sunray.XXXXX.com (999.999.999.999[999.999.999.999]) - FTP session closed.

    I tried flushing the rules in IPTables long enough to test and the client still has the issue. I tried PureFTP as well with a similar error. The client can connect through "regular" FTP fine. Since port 21 is used regardless, it cannot be a firewall port issue correct? Can the client's firewall block only TLS/SSL connections? Any assistance or nudge in the correct direction would be appreciated.

    Scott

  2. #2
    Member SB-Nick's Avatar
    Join Date
    Aug 2008
    Posts
    102

    Default

    Hello Scott,

    Are you sure your customer uses a FTP client that supports SSL/TLS?
    Try
    Paste your proftpd config file (or at least the <IfModule mod_tls.c>
    section) so we can see if there is something we should look on.
    :: Server Buddies ::

    Server Management & Monitoring

    .Dedicated Server Solutions At Affordable Rates.

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    11

    Default

    Thank you, Nick, for responding. The client tried four different clients and is currently using FileZilla. Below is the config. file entry you requested:

    <IfModule mod_tls.c>
    TLSEngine on
    TLSRequired off
    TLSRSACertificateFile /etc/ftpd-rsa.pem
    TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
    TLSVerifyClient off
    TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    </IfModule>

    Scott

  4. #4
    Member SB-Nick's Avatar
    Join Date
    Aug 2008
    Posts
    102

    Default

    Scott,

    Are you sure both Cert and Key files exists and have data on it?

    Enable TLS logging and see if it shows any further error info, you can enable logging by adding the following,

    TLSLog /var/log/proftpd/tls.log

    After that, remove the TLSCipherSuite and add

    TLSProtocol SSLv23

    Restart the FTP daemon and try again, don't forget to watch the tls log when testing.
    :: Server Buddies ::

    Server Management & Monitoring

    .Dedicated Server Solutions At Affordable Rates.

  5. #5
    Registered User
    Join Date
    Dec 2002
    Posts
    11

    Default

    Nick,
    I almost forgot about this thread. The client is no longer doing work with us due to lack of volume, so I have no way to duplicate the issue(s). I have made a note regarding your latest reply as the client plans on returning if volume picks up again. Thank you.

    Scott

Similar Threads & Tags
Similar threads

  1. Filed with Developers [Case 48781] cPanel => TLS/SSL Manager => Create Self-Signed SSL limited State field
    By inetbizo in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 05-18-2011, 01:58 PM
  2. No "Setup a SSL Certificate to Work with your Site" Button in SSL/TLS Manager
    By beretta627 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-18-2010, 10:11 PM
  3. Going to upgrade to SSL 3.0 or TLS 1.0
    By BlueFusionX in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-16-2009, 03:32 PM
  4. WHM SSL and TLS
    By miakeru in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-21-2004, 06:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube