Wordpress Cron 错误“SSL 证书:无法获得本地颁发者证书" [英] Wordpress Cron Error "SSL certificate: unable to get local issuer certificate"

查看:38
本文介绍了Wordpress Cron 错误“SSL 证书:无法获得本地颁发者证书"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装 Wordpress 时遇到错误,Wordpress 无法执行 wp-cron.php.调试工具Crontrol"报错SSL证书:无法获取本地颁发者证书".

I am encountering an error on my Wordpress install with the wp-cron.php not being able to be executed by Wordpress. The debugging tool "Crontrol" reports the error "SSL certificate: unable to get local issuer certificate".

WGET 很可能由于 SSL 问题而无法访问 wp-cron.php.我需要 wp-cron 来运行时事通讯工具等.

WGET is not able to access the wp-cron.php most likely due to the SSL problem. I need the wp-cron to run for newsletter tools etc.

很奇怪,在同一台服务器上的其他 WP 安装上发生了同样的错误,这些错误甚至没有 SSL 证书,甚至没有使用 HTTPS.错误依旧.

It is very strange that the same error occurs on other WP installs on the same server which do not even have an SSL certificate or even use HTTPS. The error remains the same.

我已经尝试使用其他 Wordpress 插件解决问题,但没有成功.由于该消息与站点无关,或者我猜问题的根源在于 Wordpress 以外的其他地方.

I have already tried to source the problem with other Wordpress plug ins but no luck. Since the message is the same independent of the site or I guess the problem is rooted somewhere else than Wordpress.

欢迎提出任何想法.谢谢!

Any ideas are gladly appreciated. Thanks!

推荐答案

您运行的是哪个版本的 Wordpress?如果它在 3.7 版之前,解决方案可能是在 wp-config.php 的最后添加这些行:

What version of Wordpress are you running? If its prior to version 3.7 the solution might be to add these lines at the very end of your wp-config.php:

add_filter('https_ssl_verify', '__return_false');

add_filter('https_local_ssl_verify', '__return_false');

我在这里做了一个小指南:

http://codeontrack.com/fix-wordpress-and-plugins-fail-on-update-ssl-certificate-problem-unable-to-get-local-issuer-certificate/

这篇关于Wordpress Cron 错误“SSL 证书:无法获得本地颁发者证书"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆