主机上安装了ssl,没安装这个缓存插件之前https一切正常,安装了以后也是一切正常,只是这个插件不能够启用缓存。
开启了wp_debug以后
出现提示
Warning: 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.yinghuatz.com:443 (Unknown error) in /var/www/html/abc.com/public_html/wp-includes/class-http.php on line 1008
然后去class-http.php 找到第1008行
$handle = stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context );
host名 和 端口的问题吗?
应该如何解决啊???真的麻烦各位了。
1
msg7086 2015-05-09 21:10:20 +08:00 via Android
“certificate verify failed”
|
2
sumhat 2015-05-09 21:33:09 +08:00
|
3
kungfuchicken 2015-05-09 22:36:57 +08:00
操作系统是Cent OS么
|
4
falcon05 2015-05-09 23:40:23 +08:00 via iPhone
Mcrypto php扩展没有安装?
|