phpcmsphpsso在https情况下的改动(phpcms)

phpcms的phpsso,在https情况下,代码file_get_contents(“https://…….”);出现错误
 file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed ,

在phpcms的phpsso_server/phpcms/modules/admin/applications.php 的check_status函数里面

需要修改为

$arrContextOptions=array(
     "ssl"=>array(
         "verify_peer"=>false,
         "verify_peer_name"=>false,
     ),
 );    
      if ($data =  file_get_contents($url.'code='.urlencode($param),false,stream_context_create($arrContextOptions))) {