diff --git a/src/Xavrsl/Cas/Sso.php b/src/Xavrsl/Cas/Sso.php
index <HASH>..<HASH> 100644
--- a/src/Xavrsl/Cas/Sso.php
+++ b/src/Xavrsl/Cas/Sso.php
@@ -85,11 +85,7 @@ class Sso {
     private function configureSslValidation()
     {
         // set SSL validation for the CAS server
-        if ($this->config['cas_validation'] == 'self')
-        {
-            phpCAS::setCasServerCert($this->config['cas_cert']);
-        }
-        else if ($this->config['cas_validation'] == 'ca')
+        if ($this->config['cas_validation'] == 'ca' || $this->config['cas_validation'] == 'self')
         {
             phpCAS::setCasServerCACert($this->config['cas_cert']);
         }
diff --git a/src/config/cas.php b/src/config/cas.php
index <HASH>..<HASH> 100644
--- a/src/config/cas.php
+++ b/src/config/cas.php
@@ -55,8 +55,8 @@ return [
         | CAS Validation
         |--------------------------------------------------------------------------
         |
-        | CAS server SSL validation: 'self' for self-signed certificate, 'ca' for
-        | certificate from a CA, empty for no SSL validation.
+        | CAS server SSL validation: 'ca' for certificate from a CA or self-signed
+        | certificate, empty for no SSL validation.
         |
         */
Remove self signed cert option

the "bogus setCasServerCert() function" has been removed from phpCAS. Use setCasServerCACert() for self-signed certs.
configureSslValidation() still checks for 'self' as_validation option and uses setCasServerCACert() for backwards compatibility.