Roger, I believe you'll need to use the hostnames instead of the IP addresses in your config in order to get SSL working properly. I would try that first.
I would also help if you could post the error log from the cas server and the .net client. Bill On Wed, Mar 9, 2011 at 5:30 AM, Roger Gilliar <[email protected]> wrote: > Hi, > > I'm not able to succesfully setup the ASP.NET client. > > What I would like to configure is the following setup: > > Every page of my website needs authentification. If a user is not > authenticated redirect to CASlogin page. That part works. But the redirect > from cas to the same page does not work (I get a to many redirects error). > > My web.config looks like: > > <?xml version="1.0"?> > <configuration> > <configSections> > <section name="casClientConfig" > type="DotNetCasClient.Configuration.CasClientConfiguration, > DotNetCasClient"/> > </configSections> > <appSettings/> > <connectionStrings/> > > <casClientConfig > casServerLoginUrl="https://10.1.56.158:8443/cas-server-webapp-3.4.6/login" > casServerUrlPrefix="https://10.1.56.158:8443/cas-server-webapp-3.4.6/" > serverName="http://10.1.57.24:81/" > notAuthorizedUrl="~/NotAuthorized.aspx" > cookiesRequiredUrl="~/CookiesRequired.aspx" > redirectAfterValidation="true" > renew="false" > gateway="false" > singleSignOut="true" > ticketValidatorName="Cas20" > serviceTicketManager="CacheServiceTicketManager" /> > > <system.web> > > <authentication mode="Forms"> > <forms > loginUrl="https://10.1.56.158:8443/cas-server-webapp-3.4.6/login" > timeout="30" > defaultUrl="~/Default.aspx" > cookieless="UseCookies" > slidingExpiration="true" > path="/website2/" /> > </authentication> > > <authorization> > <deny users="?" /> > </authorization> > > <compilation debug="false" targetFramework="4.0"> > </compilation> > > <httpModules> > <add name="DotNetCasClient" > type="DotNetCasClient.CasAuthenticationModule,DotNetCasClient"/> > </httpModules> > </system.web> > > <system.webServer> > <validation validateIntegratedModeConfiguration="false"/> > <modules> > <remove name="DotNetCasClient"/> > <add name="DotNetCasClient" > type="DotNetCasClient.CasAuthenticationModule,DotNetCasClient"/> > </modules> > </system.webServer> > > </configuration> > -- > 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
