Closed (fixed)
Project:
CAS
Version:
5.x-3.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2007 at 15:08 UTC
Updated:
8 Jul 2008 at 01:14 UTC
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
Comment #1
redndahead commentedThis looks like it has been fixed. metzlerd want to verify and close this?
red
Comment #2
metzlerd commentedCorrect. Sorry that I didn't close this sooner.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.