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

Error : self signed certificate in certificate chain (VSCode/Windows) #77

Open
Rom1deTroyes opened this issue Feb 13, 2024 · 1 comment

Comments

@Rom1deTroyes
Copy link

Hello,

Trying to use this plugin in VSCode (Windows) to access my local elastic server, which is self-signed, this error pop up :

image

The server is ok, and open the url in chrome works.

Environment :

Any idea ?

@KellyMurphy
Copy link

This isn't the most secure thing to do but if you set the following environment variable it should work:

NODE_TLS_REJECT_UNAUTHORIZED = '0'

Looking at the source code for the plugin, there's no provision to ignore it on a per host or in the "ElasticSearch" Extension only.

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