This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Cannot connect to FTP after installing SSL
#1
Cannot connect to FTP after installing SSL
Hello.

Today I installed SSL on my server today and configured all ports on my firewall but I can't connect to my FTP.
I tried ftptest.net and I get:



Code:
Command: CLNT https://ftptest.net on behalf of 84.238.141.190
Reply: 500 CLNT not understood
Command: AUTH TLS
Reply: 500 AUTH not understood
Warning: Server refused AUTH TLS, trying deprecated AUTH SSL fallback.
Command: AUTH SSL
Reply: 500 AUTH not understood
Error: Server refused FTP over TLS

and in FileZilla I get:

Code:
Status:       Connection established, waiting for welcome message...
Status:       Insecure server, it does not support FTP over TLS.
Status:       Connected
Status:       Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode.
Command: MLSD
Error:         The data connection could not be established: ECONNREFUSED - Connection refused by server
Error:         Connection timed out after 20 seconds of inactivity
Error:         Failed to retrieve directory listing

Please help!
Thanks given by:
#2
RE: Cannot connect to FTP after installing SSL
You have issue with how you added SSL to FTP.

What guide you used? Config files?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Thanks given by:
#3
RE: Cannot connect to FTP after installing SSL
(06-25-2015, 07:16 PM)Me.B Wrote: You have issue with how you added SSL to FTP.

What guide you used? Config files?

M B
I haven't set anything for the FTP. My vhost config settings are:
In port 80 virtual host config I have a redirect:


Code:
Redirect Permanent / https://panel.mydomain.com/


and on port 443 I have: 


Code:
<VirtualHost *:443>
SSLEngine on
SSLProtocol SSLv3
SSLCertificateFile /etc/pki/tls/public.crt
SSLCertificateKeyFile /etc/pki/tls/private.key
SSLCACertificateFile /etc/pki/tls/intermediate.crt
ServerAdmin admin@mydomain.com
DocumentRoot "/etc/sentora/panel/"
ServerName panel.mydomain.com
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
    AllowOverride All
    Require all granted
</Directory>

</VirtualHost>
Thanks given by:
#4
RE: Cannot connect to FTP after installing SSL
AH I see you locked down server using firewall but proftpD need you allow pasv ports this is why filezilla is unable to list directories. This have nothing to do with SSL but with firewall setup.

http://www.proftpd.org/docs/directives/l...Ports.html

You will find them in your proftpd config.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Thanks given by: rampage
#5
RE: Cannot connect to FTP after installing SSL
(06-25-2015, 08:04 PM)Me.B Wrote: AH I see you locked down server using firewall but proftpD need you allow pasv ports this is why filezilla is unable to list directories. This have nothing to do with SSL but with firewall setup.

http://www.proftpd.org/docs/directives/l...Ports.html

You will find them in your proftpd config.

M B

Thank you! Everything is working fine now. I'm not very familiar with FTP so I want to ask about FTP over TLS. Can I use it with Sentora because I saw somewhere on the forum that its not possible.
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
unable to connect to vps ip using ftp xRyu99 5 18 ,132 08-27-2019, 03:41 PM
Last Post: maxmilan
can't connect to ftp.. lonewolf91 3 13 ,685 12-13-2017, 05:32 PM
Last Post: varun.naharia
COULD NOT CONNECT TO SERVER ipanjan 8 23 ,017 12-13-2017, 05:30 PM
Last Post: varun.naharia

Forum Jump:


Users browsing this thread: 4 Guest(s)