文件:/uc_server/model/misc.php
函数:function dfopen
具体代码:
$context = array(
‘http’ => array(
‘method’ => $post ? ‘POST’ : ‘GET’,
‘header’ => $header,
‘content’ => $post,
‘timeout’ => $timeout,
),
“ssl”=>array(
“verify_peer”=>false,
“verify_peer_name”=>false,
),
);
红色为新增代码,就是不检查ssl证书;
增加红色代码以后,问题解决,所有ucenter app都通信成功! |