我的應用程序出現問題。Symfony 2.8.4 + BeSimpleSsoBundle + Jasig CAS錯誤
我使用Symfony 2.8.4,在供應商列表中我使用了上一版本的besimmple/sso-auth-bundle。
我有一個應用程序在一箇舊的centos服務器與PHP 5.3.3的工作,但與symfony 2.5,我必須升級symfony。
On dev plateform(winw 10 + wamp 2.4)我的應用程序工作:besimple可以在我的CAS服務器上authanticate,沒有pb。但我的新的服務器,CentOS的7,PHP 5.4.16它不工作,我得到這個異常:
Cannot communicate securely with peer: no common encryption algorithm(s).
500 Internal Server Error - RequestException
Stack Trace
in vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php at line 31 -
$errorMsg = curl_error($this->lastCurl);
$errorNo = curl_errno($this->lastCurl);
$e = new RequestException($errorMsg, $errorNo);
$e->setRequest($request);
throw $e;
我有另一個應用程序,GLPI由此服務器使用curl上,和它的作品。
我不知道該怎麼做,我的應用程序他正在生產。
我試着用CIPHER_LIST這樣的改變curl_opt在:
curl_setopt($this->lastCurl , CURLOPT_SSL_CIPHER_LIST, 'ecdhe_rsa_aes_128_gcm_sha_256');
,但我得到這個錯誤:
Cannot connect: SSL is disabled.
500 Internal Server Error - RequestException
Stack Trace
in vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php at line 31 -
$errorMsg = curl_error($this->lastCurl);
$errorNo = curl_errno($this->lastCurl);
$e = new RequestException($errorMsg, $errorNo);
$e->setRequest($request);
throw $e;
你能幫助我嗎?
PS:我試圖把應用程序放在另一臺服務器上,用debien查看問題是否與我的分發有關。