Wordfence could not register with the Wordfence scanning servers

最近Wordpress安全插件wordfence出现提示Wordfence could not register with the Wordfence scanning servers错误,用不了。

Wordfence could not register with the Wordfence scanning servers when it activated. You can try to fix this by deactivating Wordfence and then activating it again, so Wordfence will retry registering for you. If you keep seeing this error, it usually means your WordPress server can not connect to our scanning servers, or your wfConfig database can not be created to save the key. You can try asking your host to allow your server to connect to noc1.wordfence.com or check the wfConfig database table and database privileges.

我按照它的提示关闭又重新激活插件无数次,也去mysql数据库看了,权限什么的都没有问题,还下载了wordfence Assistant清空数据,卸载插件后重装,然而都没有卵用。后来我以为是域名解析出了故障,于是又ssh到vps上ping了noc1.wordfence.com域名,结果发现是通的。这下我要抓狂了。

后来偶然在网上发现了问题的根源所在,因为我对这个错误提示印象深刻,很多地方都能看的到

cURL error 35: SSL connect error

解决方法也很简单

升级 nss(Mozilla Network Security Services 网络安全服务):

再重启PHP问题解决。

你问我为啥一定要更新nss才能用,其实我也不清楚,我猜是因为有新出来的ssl证书不能被Centos的旧库信任吧,更新一下库就能添加新的ssl信任。

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Protected with IP Blacklist CloudIP Blacklist Cloud