Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - thilakrajb

Pages: [1]
1
FTP / FTP on CWP stucks at 'Retrieving directory listing…'
« on: September 17, 2018, 06:06:26 AM »
I have setup CWP on CentOS 7 in Digital Ocean droplet. I have created some FTP accounts (On default PureFTP server) and trying to access FTP through FileZilla on windows. FTP server is configured with passive ports range from 30000 to 35000 (Initially it was 30000 to 50000). I have allowed same ports in IN and OUT TCP ports of CSF rules.

Normally, FTP connection works fine and there is no problem of using it.

Sometimes, while navigating through directories in server side, filezilla stucks at 'Retrieving directory listing...' for long time. Once the idle timeout of FTP server reached, it disconnects with message as server closed connection. This happens suddenly sometimes when I am working on FTP. If I disconnect all active sessions in server using FTP Manager in CWP, occasionally it works.

I have done some troubleshooting as below.

    Changed the connection from Passive to Active mode in FileZilla -It does not connect.
    Already disabled TLS encryption and using plain user name and password
    Tried in WinSCP. It worked for a while, but later it too had same problem.
    Tried disabling the firewall - Did not work even if reconnected
    When firewall was enabled, in FTP server log I found that it was blocking my login after successful login. But, I don't know the reason and also it did not work after disabling firewall
    Today I have found a message in log saying that cleartext is not supported on this server, please reconnect using TLS. Does this mean only connections with TLS are supported? But it is working even if connected without TLS sometimes. Also, I had disabled the TLS in FTP server configuration at the time of problem and it was not worked.

What could be the problem? I don't want to use SSH for file transfer as this FTP is being used by my clients. So, they should be able to connect to the server and upload files to specific directory. Also, I should disable the password based authentication for SSH if SSH is used for file transfer. The reason why I did not check other FTP servers is I would like to manage all things from the CWP portal only (Otherwise I have to manage main hosting things in portal and FTP things in command etc.)

Please help me to resolve the problem.

2
E-Mail / TLS encryption for each domains hosted with CWP
« on: May 10, 2018, 06:20:32 AM »
I want to setup IMAP/POP3 access for incoming mail server on my CWP. For accessing the incoming mail server, I will need either POP3 or IMAP access with TLS encryption which is mandatory for most of the email clients.
My main host name is hosting.domain.com and that has the default host certificate.
I have created the domain example.com and created email account for the same as user@example.com. Here, example.com has its own SSL certificate.
When I add the same in mail client (Gmail on Android), I have entered incoming mail server as example.com and selected all the available options for security (like SSL/TLS, SSL/TLS (Accept all certificates), STARTTLS, STARTTLS (Accept all certificates)). But, the server is rendering only the main host name certificate (hosting.domain.com) instead of the mail address's domain certificate.
What can I do to host multiple domains with email accounts secured by TLS for each domains? What is the workaround?
(Note: Previously, I had Vesta-CP and I had replaced the main domain certificate with required main domain certificate and used the same as incoming & outgoing mail server for all the domains. But, it is not the proper way to do so. I can configure the windows mail clients like MS Outlook. But, in android device, I am getting the above said issues).

Pages: [1]