但禁用了证书验证

但禁用了证书验证

本文介绍了Yosemite SSL:设置了 CA 证书,但禁用了证书验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从安装 Yosemite 以来,我不断收到错误 SSL:CA 证书设置,但证书验证被禁用.它出现在终端中的每个 https url 中.找不到如何解决这个问题,有什么建议吗?谢谢弗兰克

Since installation of Yosemite I keep getting error SSL: CA certificate set, but certificate verification is disabled. It occurs with every https url in Terminal.Can't find how to fix this, any suggestions ?thanksFrank

推荐答案

对于来到这里试图弄清楚为什么他们在 Wordpress 和 WooCommerce 上遇到这个问题并且在 OS X Yosemite 上的其他人,那么你会想要关注Asaph/Cupcake 对osx 10.10 Curl POST to HTTPS url 给出 SSLRead() 错误"的回答(https://stackoverflow.com/a/26538127)

For others coming here trying to figure out why they are running into this issue with Wordpress and maybe also WooCommerce and are on OS X Yosemite then you will want to follow Asaph/Cupcake's answer to "osx 10.10 Curl POST to HTTPS url gives SSLRead() error" (https://stackoverflow.com/a/26538127)

基本上问题是 cURL 使用 Apple 的 SecureTransport 而不是 OpenSSL.链接到答案将引导您测试 SSL 版本,然后修复它.

Basically the issue is cURL is using Apple's SecureTransport instead of OpenSSL. The linked to answer will walk you through testing the SSL Version and then fixing it.

我遇到的一个警告是我已经通过自制软件安装了 php 5.5.21,但我的系统没有使用它.我通过执行brew unlink php55

One caveat I ran into is I had already installed php 5.5.21 via homebrew but my system was not using it. I unlinked 5.5.21 by doing "brew unlink php55

这篇关于Yosemite SSL:设置了 CA 证书,但禁用了证书验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 18:29