Additionally, you may want to take a look at the 'Example Website' walkthrough on the wiki to review/compare settings and setup: https://wiki.jasig.org/display/CASUM/HOWTO+CASifying+ASP.NET+WebApp+-+ExampleWebsite
-Misagh ----- Original Message ----- From: "Scott" <[email protected]> To: [email protected] Sent: Friday, January 6, 2012 9:51:38 AM Subject: Re: [cas-user] Problem with .Net Cas setup Hi. Your /configuration/system.web/authentication/forms[@path] is set to '/ApplicationName/'. You should probably either omit the attribute, set it to '/', or set it to the server-relative path where you want the authentication to be valid for. Unless the app is running on https://appserver/ApplicationName/ , CAS auth won't work as configured. Also, in /configuration/casClientConfig[@serverName], you want to use the name of your application server, not the CAS server. Unless you are reverse proxying your CAS server from IIS and both have the same host name (rare in my exp.), this is likely a configuration error. Assuming you're not reverse proxying, there is one final consideration here. The server name that you specify will be passed over to the CAS server and the CAS server will attempt to connect back to that server. This is important if your app server and CAS server are on different sides of a load balancer/SSL offloader or something. Finally, if your SSL certificates are issued for a fully-qualified domain name, you should use it throughout your web.config. https://caswindows:8443/ will cause difficult to troubleshoot issues if the SSL certificate is issued for caswindows.something.com . Also, make sure that the SSL certificates for your CAS server and your app server are mutually trusted. Your CAS server must be able to establish a trusted https:// connection to your app server and vice-versa. -Scott On Fri, Jan 6, 2012 at 8:30 AM, Chris Whisenhunt < [email protected] > wrote: My cas login resides here: https://caswindows:8443/cas-server-webapp-3.4.11/login and that works fine. However when I followed this tutorial: https://wiki.jasig.org/display/CASC/.Net+Cas+Client I am not getting sent to the cas login page. I put the DotNetCasClient.dll in the bin of my webapp. My web.config is attached. -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
