My cluster has 3 nodes, the cluster and kibana is setup and running correctly with search guard. But I do not how to use curl with https ?
[root@ip-10-8-8-246 example-pki-scripts]# ls
ca example.sh kirk.crtfull.pem kirk-keystore.p12 spock.csr truststore.jks usg-elk-b.csr usg-elk-c-keystore.jks
certs gen_client_node_cert.sh kirk.crt.pem kirk-signed.pem spock.key.pem usg-elk-a.csr usg-elk-b-keystore.jks usg-elk-c-keystore.p12
clean.sh gen_node_cert.sh kirk.csr spock.all.pem spock-keystore.jks usg-elk-a-keystore.jks usg-elk-b-keystore.p12 usg-elk-c-signed.pem
crl gen_root_ca.sh kirk.key.pem spock.crtfull.pem spock-keystore.p12 usg-elk-a-keystore.p12 usg-elk-b-signed.pem
etc kirk.all.pem kirk-keystore.jks spock.crt.pem spock-signed.pem usg-elk-a-signed.pem usg-elk-c.csr
[root@ip-10-8-8-246 example-pki-scripts]# curl --cacert usg-elk-a-signed.pem
https://10.8.8.246:9200/_cat/indices?vcurl: (60) Peer's certificate issuer has been marked as not trusted by the user.