When using phpcas-0.6.0-RC4 you need to validate the cas server's certificate. If you don't wish to validate the certificate, you need to explicitly say this.

Here's the error I received:
phpCAS error: phpcas::forceauthentication(): one of the methods phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or phpCAS::setNoCasServerValidation() must be called. in /home/drupal/drupal.singularity.be/drupal-5.2/modules/cas/cas.module on line 54

So you can choose to run phpCAS::setNoCasServerValidation(), but it would be much better to setup a trust with your CAS server (certificate upload, ...)

Comments

redndahead’s picture

This looks like it has been fixed. metzlerd want to verify and close this?

red

metzlerd’s picture

Version: 5.x-2.2 » 5.x-3.0
Status: Active » Fixed

Correct. Sorry that I didn't close this sooner.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.