Filezilla GnuTLS error -15: An unexpected TLS packet was received
Using a wildcard certificate to connect to a newly configured VSFTP server on CentOS on FTPes, I got the following error:
Status: Resolving address of www.ezref.info
Status: Connecting to 18.104.22.168:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: AUTH TLS
Response: 234 Proceed with negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER ezftp
Status: TLS/SSL connection established.
Response: 331 Please specify the password.
Command: PASS **************
Error: GnuTLS error -15: An unexpected TLS packet was received.
Error: Could not connect to server
Since FTPes was not working, I decided to use plain FTP. That's when I realized my mistake.
I was using virtual users to connect and missed out on creating the folders on the server.
So I went ahead and created the required folders, changed the ownership and test again with plain FTP, it worked!
I switched back to FTPes and tested again and that worked too!
Bottom line: GnuTLS error may not necessarily be due to certificate errors.