vscode-elastic
vscode-elastic copied to clipboard
Is there a way to ignore TLS cert issue as well as curl's k option?
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.
Exec Run Query
I'd like to know if there's a way to ignore the cert issue as well as curl's k option.
I would also be interested in this function