Make default configuration adapted to Authentic2 context

This commit is contained in:
Benjamin Renard 2021-03-31 12:14:40 +02:00
parent c25ae97b5c
commit aab9ece941

View file

@ -16,15 +16,15 @@ $cas_servers=array(
// CAS server hostname // CAS server hostname
$_SERVER['SERVER_NAME'] => array( $_SERVER['SERVER_NAME'] => array(
// Context of the CAS Server // Context of the CAS Server
'context' => '/cas', 'context' => '/idp/cas',
// CAS server port // CAS server port
'port' => 443, 'port' => 443,
// If you running this application in HTTP only, uncomment following parameter // If you running this application in HTTP only, uncomment following parameter
//'insecure' => true, //'insecure' => true,
// Disable CAS server Validation // Disable CAS server Validation
'ssl_validation' => false, 'ssl_validation' => true,
// If ssl_validation is enable you must define // 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 'ssl_cn_validation' => true
) )
); );