I am trying to run vsftpd on my arm based linux board. I cross compiled the vsftpd and executed, I was able to connect, get list, get-put file etc. Now I started enabling SSL support in vsftpd. I enabled and cross compiled properly. I create a SSL certificate as instructed in “http://www.cyberciti.biz/tips/configure-vsfptd-secure-connections-via-ssl-tls.html” and started the vsftpd. When I tried to connect to server, I was able to connect but as I try to view the directory structure (ls command) or get put, it throws error as closed the connection as:
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
ftp: SSL_connect DATA error -1 - error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected message
ssl_getc: SSL_read failed -1 = 0
421 Service not available, remote server has closed connection
My vsftpd.conf file includes the ssl settings as suggested in the above link:
allow_anon_ssl=YES (I tried NO also, but no help)
Can anybody help me to figure out what’s the issue here?