Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable SSL verification? #15

Open
ahm750 opened this issue Aug 24, 2023 · 1 comment
Open

How to disable SSL verification? #15

ahm750 opened this issue Aug 24, 2023 · 1 comment

Comments

@ahm750
Copy link

ahm750 commented Aug 24, 2023

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
  }),
}
@ahm750 ahm750 changed the title How to ignore SSL errors? How to disable SSL verification? Aug 24, 2023
@Dawenxes
Copy link

It's effective

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants