CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN

执行命令:

curl --cacert http_ca.crt -u elastic https://localhost:9200

结果报错了

CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN_第1张图片

直接访问https://localhost:9200/ ,正常

CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN_第2张图片

解决办法:

curl --cacert http_ca.crt -u elastic https://localhost:9200 --insecure

 CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN_第3张图片

 

你可能感兴趣的:(#,Docker,curl,Cert,crt,9200,cacert,https,docker)