更新时间:2023-11-10 12:22:22
--cacert
和 --cert
在 OSX Mavericks 中被破坏.
--cacert
and --cert
are broken in OSX Mavericks.
您可以在此处阅读更多信息:https://groups.google.com/forum/#!topic/munki-dev/oX2xUnoQEi4
You can read more about it here: https://groups.google.com/forum/#!topic/munki-dev/oX2xUnoQEi4
解决方法在这里:http://curl.haxx.se/mail/archive-2013-10/0036.html 表示需要将证书导入为可信系统证书:
The workaround is here: http://curl.haxx.se/mail/archive-2013-10/0036.html which indicates that you need to import the certificate as a trusted system cert:
使用 Keychain Access 将证书导入系统(系统")或用户(登录")钥匙串,并将其标记为对于 SSL 和 X.509 基本策略始终受信任.
Import the certificate into the system ("System") or user ("login") keychain using Keychain Access and mark it as always trusted for SSL and X.509 basic policy.