From aab9ece941446fdadd5a47a66c0b53b4ab5d805f Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 31 Mar 2021 12:14:40 +0200 Subject: [PATCH] Make default configuration adapted to Authentic2 context --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 5e04380..432cba4 100644 --- a/index.php +++ b/index.php @@ -16,15 +16,15 @@ $cas_servers=array( // CAS server hostname $_SERVER['SERVER_NAME'] => array( // Context of the CAS Server - 'context' => '/cas', + 'context' => '/idp/cas', // CAS server port 'port' => 443, // If you running this application in HTTP only, uncomment following parameter //'insecure' => true, // Disable CAS server Validation - 'ssl_validation' => false, + 'ssl_validation' => true, // If ssl_validation is enable you must define - 'ssl_cacert_path' => '/path/to/cacert.crt', + 'ssl_cacert_path' => '/etc/ssl/certs/ca-certificates.crt', 'ssl_cn_validation' => true ) );