原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/trb-security-maccurl.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/trb-security-maccurl.html
本地英文版地址: ../en/trb-security-maccurl.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Certificate verification fails for curl on Macedit
Symptoms:
-
curl
on the Mac returns a certificate verification error even when the--cacert
option is used.
Resolution:
Apple’s integration of curl
with their keychain technology disables the
--cacert
option.
See http://curl.haxx.se/mail/archive-2013-10/0036.html for more information.
You can use another tool, such as wget
, to test certificates. Alternately, you
can add the certificate for the signing certificate authority MacOS system
keychain, using a procedure similar to the one detailed at the
Apple knowledge base. Be sure to add the
signing CA’s certificate and not the server’s certificate.