admin管理员组文章数量:1393163
I've been researching for hours, but I don't seem to find a solution. I've tried every single solution I've found.
We're running Wordpress 5.4 with PHP v7.4 in a Windows 2019 server that's behind an intranet in a Fortune 500 company (ie. Microsoft). I mention the Fortune 500 bit because we're behind a firewall that I cannot alter. The WP installation is running under IIS 10.0 (screenshot here).
So everything's working fine, but I get the following error when trying to activate a plugin that we bought. Here's a screenshot of the browser console:
object(WP_Error)#1107 (2) {
["errors"]=>
array(1) {
["http_request_failed"]=>
array(1) {
[0]=>
string(78) "cURL error 60: SSL certificate problem: unable to get local issuer certificate"
}
}
["error_data"]=>
array(0) {
}
}
I've tried every solution I've found:
I downloaded "cacert.pem" from here: .html
I modified the correct php.ini file by adding
curl.cainfo="C:\PHP\Extras\SSL\cacert.pem"
. We know it's the correct php.ini because we installed plugin PHP Info (WP), plus another plugin that confirmed this.When that didn't work, I then added
openssl.cafile="C:\PHP\Extras\SSL\cacert.pem"
to php.ini.I also switched from
\
to/
.I also removed the quotes (
openssl.cafile=C:\PHP\Extras\SSL\cacert.pem
)
After every change, we're restarted the server, ran iisreset
and restarted IIS from the IIS manager. Nothing has changed.
What else can we do?
Something worth mentioning is that we had to use Configure HTTP Proxy Server
in wp-config.php
so that WP could work properly. I don't know if it's relevant or not.
本文标签: pluginscURL error 60 SSL certificate problem unable to get local issuer certificate
版权声明:本文标题:plugins - cURL error 60: SSL certificate problem: unable to get local issuer certificate 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744566083a2613055.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论