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

SSL certificate #63

Open
cod3dump opened this issue Jun 14, 2021 · 0 comments
Open

SSL certificate #63

cod3dump opened this issue Jun 14, 2021 · 0 comments

Comments

@cod3dump
Copy link

cod3dump commented Jun 14, 2021

One of the sites I'm monitoring has an invalid certificate and I get this error
Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames:

Is there a way I can bypass this check? e.g. on Chrome, I can accept the risk and load the .json page

I tried adding this to Task
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;

but got this error
TypeError: Cannot read property 'forEach' of undefined

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

1 participant