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

Is there a way to ignore TLS cert issue as well as curl's k option? #57

Open
momotaro98 opened this issue Jul 15, 2021 · 1 comment
Open

Comments

@momotaro98
Copy link

I'd like to connect to AWS Elasticsearch service host via vscode-elastic extension.

The AWS Elasticsearch service host

  • is hosted in internal network (AWS VPC internal), which is isolated from local network.
  • establishes TLS(HTTPS)

So, I

When I use curl command to access the Elasticsearch host, I create ssh tunnel first then use -k option to ignore the cert issue like the following.

curl -k -XGET https://localhost:7000/_cat/health

It can give me a 200 response.

How to see this issue

Make ssh tunnel via

ssh -f -N -L 7000:subdomain.ap-northeast-1.es.amazonaws.com:443 bastion-server-domain

Set the domain host for vscode-elastic extension.

image

Exec Run Query

image

I'd like to know if there's a way to ignore the cert issue as well as curl's k option.

@ygurin
Copy link

ygurin commented Nov 23, 2021

I would also be interested in this function

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