From 9f9f06aa3720a068dd7a7b16db922ba52195d1ab Mon Sep 17 00:00:00 2001 From: Misagh Moayyed Date: Wed, 23 Aug 2017 00:03:15 +0430 Subject: [PATCH] Update index.php --- php-cas/var-www-html/php-cas/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php-cas/var-www-html/php-cas/index.php b/php-cas/var-www-html/php-cas/index.php index ae6fd19..41350f2 100644 --- a/php-cas/var-www-html/php-cas/index.php +++ b/php-cas/var-www-html/php-cas/index.php @@ -24,7 +24,9 @@ // Initialize phpCAS phpCAS::client(CAS_VERSION_2_0, $cas_host, $cas_port, $cas_context); -phpCAS::setExtraCurlOption( CURLOPT_SSLVERSION, 6 ); + +// Let the default behavior of negotiating protocol happen +// phpCAS::setExtraCurlOption( CURLOPT_SSLVERSION, 6 ); // For production use set the CA certificate that is the issuer of the cert // on the CAS server and uncomment the line below