// 传入ssl选项,包含证书的路径 $context = array( 'ssl' => array( 'local_cert' => '/data/ssl/www.pem', 'local_pk' => '/data/ssl/www.key', 'verify_peer' => false, ) ); // PHP...