easydl
easydl copied to clipboard
How to disable SSL verification?
Hi,
I'm downloading files from a website and the error handler keeps on returning this error:
Error: 140460750428696:error:100003e8:SSL routines:OPENSSL_internal:SSLV3_ALERT_CLOSE_NOTIFY:../../third_party/boringssl/src/ssl/tls_record.cc:592:SSL alert number 0
Does anyone know what options to pass to httpOptions
to disable SSL verification or if there are any built-in option to do it?
I've set this option but it didn't help:
httpOptions: {
agent: new https.Agent({
rejectUnauthorized: false
}),
}
It's effective