admin管理员组文章数量:1297008
I setup elasticsearch using docker on EC2 machine.
on EC2 terminal everything working well when I run:
curl --cacert http_ca.crt -u elastic:$Password https://localhost:9200
I got: { "name" : "21frt45422121f", "cluster_name" : "docker-cluster", "cluster_uuid" : "xxxxx,...}
I want to connect from my local machine: I copy the certificate http_ca.crt
to my local ubuntu machine and I added it in /usr/local/share/ca-certificates/http_ca.crt
curl --verbose --cacert /usr/local/share/ca-certificates/http_ca.crt -u elastic:$Password https://Public-IP-address:9200
I got this error:
curl: (60) SSL certificate problem: unable to get local issuer certificate
I try to skip the certificate with -k
option but still getting an error.
How to get it work
本文标签: amazon ec2my local system does not truct ElasticSearch CertificateStack Overflow
版权声明:本文标题:amazon ec2 - my local system does not truct ElasticSearch Certificate - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741620266a2388768.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论