2016-04-29 10 views
0

私のアプリケーションに問題があります。Symfony 2.8.4 + BeSimpleSsoBundle + Jasig CASエラー

私はSymfony 2.8.4を使用し、ベンダーリストでは、前バージョンではbesimmple/sso-auth-bundleを使用しています。

symfony 2.5で、symfonyをアップグレードする必要がある、PHP 5.3.3の古いcentosサーバーにアプリケーションがあります。

dev板版(winw 10 + wamp 2.4)で私のアプリケーションの仕事:besimpleは私のCASサーバーではなく、鉛をauthanticateすることができます。私はカールを使用このサーバー上の別のアプリケーション、GLPIを持って

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; 

、それが動作します。しかし、私の新しいサーバー、CentOSの7、PHP 5.4.16に、それは私がこの例外を持って動作しません。

私は何をすべきか分かりません。私は彼の制作に専念しています。

私はそのような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は問題が私の配布に付属しているかどうかを確認しています。

答えて

0

私は自分自身に答える。

古いpfsenseリバースプロキシを使用してCASサーバーを要求していました。私は最後のバージョン(2.3.2)にpfsesnseを更新し、今はすべてokです。

TUがBeSimpleSsoために、この設定を使用することを忘れないでください:

be_simple.sso_auth.client.option.curlopt_ssl_version.value: 1 
be_simple.sso_auth.client.option.curlopt_ssl_verifypeer.value: false 
関連する問題