Mostly just putting this here for anyone who might run into this issue, when we first started using this plugin we'd get the following error when attempting to login:
Fatal error: Uncaught exception 'CAS_AuthenticationException' in /wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php:2764 Stack trace: #0 /wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php(1224): CAS_Client->validateCAS20('https://auth.um...', '', NULL) #1 /wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php(1083): CAS_Client->isAuthenticated() #2 /wp-content/plugins/cas-maestro/phpCAS/CAS.php(1101): CAS_Client->forceAuthentication() #3 /wp-content/plugins/cas-maestro/cas-maestro.php(227): phpCAS::forceAuthentication() #4 [internal function]: CAS_Maestro->validate_login(Object(WP_Error), '', '') #5 /wp-includes/plugin.php(192): call_user_func_array(Array, Array) #6 /wp-includes/pluggable.php(537): apply_filters('authenticate', NULL, '', '') #7 /wp-includes/user.php in /wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php on line 2764
To resolve this error we had to add
curl_setopt($ch, CURLOPT_SSLVERSION,3); to phpCAS/CAS/Request/CurlRequest.php where the SSL configuration is set (currently line 125 and 130.
I'm sure this is specific to how the SSL certs are handled on our CAS server but just in case anyone else happens to get the same error I thought I'd post it here.