Dear list:

         I have deployed a testing CAS server to protect a httpd Location, I
can login in CAS server successfully, but after being automatically
redirected to the protect location, it always return a 401 error page to me.

 

I checked my log:

In http log:

 - - [21/Oct/2008:14:07:40 +0800] "GET
/casprotect/?ticket=ST-24-L3WtJybA9GIJNa4ASyYJ-cas HTTP/1.1" 401 564

In cas log:

2008-10-21 14:07:40,151 INFO
[org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket
[ST-24-L3WtJybA9GIJNa4

ASyYJ-cas] for service [https://sp.permis.pku.edu.cn/casprotect/] for user
[Roey]

2008-10-21 14:22:08,272 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
Starting cleaning of expi

red tickets from ticket registry at [Tue Oct 21 14:22:08 CST 2008]

 

my mod_auth_cas configuration:

LoadModule auth_cas_module modules/mod_auth_cas.so

CASCookiePath /tmp/cas/

CASloginURL https://mydomain /cas/login

CASValidateURL https:// mydomain /cas/serviceValidate

CASCertificatePath /home/ncpku/common/httpd-2.0.59/conf/ mydomain.crt

<Location "/casprotect/">

AuthType CAS

Require valid-user

</Location>

 

I checked my CertificatePath, and I am sure that is right.

Is there any other possibility?

 

Best regards,

Li Cheng

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to