mscdex / node-ftp

An FTP client module for node.js
MIT License
1.13k stars 246 forks source link

TLS self signed certificates #182

Closed brainfoolong closed 7 years ago

brainfoolong commented 7 years ago

Hi, is there any possibility to add something like skip certificate validation for self signed certs? Now i get an error when i want to connect to such a FTP.

brainfoolong commented 7 years ago

Nevermind, found it myself after 5 minutes more research. For others that search the same.

.connect({secureOptions: {'rejectUnauthorized': false}})