WP Super Cache如何通过SSL连接使用插件

时间:2015-05-10 08:02:57

标签: php wordpress ssl

我的网站处于SSL模式,但是这封插件几天前第一次安装时似乎无法正常工作。然后我尝试了缓存测试,我收到以下错误信息:

arning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /var/www/html/abc.com/public_html/wp-includes/class-http.php on line 1008

Warning: stream_socket_client(): Failed to enable crypto in /var/www/html/abc.com/public_html/wp-includes/class-http.php on line 1008

Warning: stream_socket_client(): unable to connect to ssl://www.abc.com:443 (Unknown error) in /var/www/html/abc.com/public_html/wp-includes/class-http.php on line 1008

在第1008行找到/class-http.php

$handle = stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context );

那么如何在不禁用SSL的情况下使用该插件?

THX

0 个答案:

没有答案