private function setCasCaCertPath($ca_file)
    {
        if ($ca_file === 'none') {
            phpCAS::setNoCasServerValidation();
        } else {
            if (file_exists($ca_file) && is_readable($ca_file)) {
                phpCAS::setCasServerCACert($ca_file);
            } else {
                throw new Exception("Unable to read CAS CA-Cert file: " . $ca_file, 500);
            }
        }
    }
private function setCasCaCertPath($ca_file)
    {
        if ($ca_file === 'none') {
            phpCAS::setNoCasServerValidation();
        } else {
            if (file_exists($ca_file) && is_readable($ca_file)) {
                phpCAS::setCasServerCACert($ca_file);
            } else {
                throw new Exception("Unable to read CAS CA-Cert file: " . $ca_file, 500);
            }
        }
    }
private function setCasCaCertPath ( $ ca_file ) { if ( $ ca_file === 'none' ) { phpCAS :: setNoCasServerValidation ( ) ; } else { if ( file_exists ( $ ca_file ) && is_readable ( $ ca_file ) ) { phpCAS :: setCasServerCACert ( $ ca_file ) ; } else { throw new Exception ( "Unable to read CAS CA-Cert file: " . $ ca_file , 500 ) ; } } }
Set the location of the CA cert file for the CAS server.

@param string $ca_file

@throws Exception
Set the location of the CA cert file for the CAS server .