Open Djuka opened 8 years ago
Looks like TLS is not available or misconfigured at the target host. Does it work with regular FTP clients when forcing a TLS connection?
I have the same issue and it works with regular ftp client (winscp).
ssl_tlsv: enabled
ssl_v2: disabled
ssl_v1: disabled
certificates: from letsencrypt
allow_anon_ssl: false
allow_anon: false
pasv_enable: true
pasv_adress: wan-ip
maybe with trial and error changing the server settings, I will find out whats causing the problem.
Error: unable to verify the first certificate
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1065:38)
at emitNone (events.js:80:13)
at TLSSocket.emit (events.js:179:7)
at TLSSocket._init.ssl.onclienthello.ssl.oncertcb.TLSSocket._finishInit (_tls_wrap.js:593:8)
at TLSWrap.ssl.onclienthello.ssl.oncertcb.ssl.onnewsession.ssl.onhandshakedone (_tls_wrap.js:425:38)
Got it working, i had to set secureOptions: {rejectUnauthorized: false}
, although my certificates are valid.
Now I realise this might not be the issue of vinyl-ftp, but I am having a hard time understanding what is happening here. I have FTP configuration:
Here is the task (just in case):
This is the error I get: