【发布时间】:2020-09-11 07:12:54
【问题描述】:
您好 ElasticSearch 冠军,
我在 Kubernetes 上从 https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html 部署了 EK。
如果没有 -k 选项,我无法卷曲 ElasticSearch!
curl --cacert ca-bundle.crt -u "elastic:9sg8q9h4tncvdl2srqiptn9z" "https://10.4.1.14:9200"
curl: (60) Peer's certificate issuer has been marked as not trusted by the user.
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
[root@quickstart-es-default-0 certs]#
【问题讨论】:
标签: elasticsearch logstash elastic-stack logstash-configuration