ASP .NET: "Remote certificate is invalid according to the validation procedure"

Sebastian Stranieri sebastian.stranieri at gmail.com
Thu May 24 22:51:54 EDT 2007


If you want to install a SSL Certificate try with the ISS6 Resource Kit,
tool SELFSSL.

Regards

Sebastian
PD: Anyone talk in spanish here?


On 5/24/07, Jean Verger <jean.verger at gmail.com> wrote:
>
> Hi,
>
> I'm integrating CAS with our ASP application (over IIS).
>
> The .NET code provided in
> http://www.ja-sig.org/wiki/display/CASC/ASP.NET+Forms+Authentication
> could do SSO
> with other application and our CAS server.
>
> Sincerely, the code was just so straight forward .. pretty much copy
> paste, modify the CAS url serve ... and there it goes SSO.  Congrats.
>
> Unfortunately, Im having a problem when  I get to this part of the code:
>
> string validateurl = CASHOST + "serviceValidate?" +
>    "ticket=" + tkt + "&"+
>    "service=" + service;
> StreamReader Reader = new StreamReader( new
> WebClient().OpenRead(validateurl));
>
> I have the following exception:
>
> "Exception Details:
> System.Security.Authentication.AuthenticationException: The remote
> certificate is invalid according to the validation procedure."
>
> Althought I can browse that url in my browser (which returns the user
> name), I can not do it through the ASP .NET code ... I believe it is
> related to https, certificates and maybe IIS ...
>
> Should I install any certificate in IIS? some missing .NET code? some
> hint/light on this issue?
>
> My second question is ... what happens with CASP?  could anyone email
> some info on CASP? The website
> (http://opensource.case.edu/projects/CAS/wiki/CASP) seems down.
>
> thanks a lot!
>
> Jean
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070524/a3505bf1/attachment.html 


More information about the cas mailing list