CertificatePolicy and .Net requests

Discussion in 'ASP .Net Security' started by Guest, Jun 17, 2004.

  1. Guest

    Guest Guest

    I created an web application that accesses sites via SSL.
    Those sites cause a Security Alert (certificate name
    doesn't match host name). I created a class to
    override/accept all certificates and assigned it to the
    CertificatePolicy.

    I would like to do something along the lines of
    Response.Redirect(https url), but since the Response
    object is not part of the .Net namespace the certificate
    is not overriden/accepted. I tried using a WebClient to
    download the data and then did a Response.Write(data
    downloaded). The page has web controls that need to be
    active, but they aren't active using this idea since the
    data isn't a link to the website, just a copy to the data.

    Any ideas how I can link my web application to the website
    and bypass/accept the certificate?
    Guest, Jun 17, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Adrian Dragomirescu

    Time consuming requests in .NET

    Adrian Dragomirescu, Oct 24, 2003, in forum: ASP .Net
    Replies:
    9
    Views:
    433
    Shawn Mehaffie
    Dec 15, 2003
  2. Dominic
    Replies:
    1
    Views:
    3,266
    Bernard
    Dec 14, 2004
  3. Fernando Arámburu

    web requests and mobile requests

    Fernando Arámburu, Apr 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    434
    Joerg Jooss
    Apr 8, 2005
  4. whidbeywave
    Replies:
    0
    Views:
    678
    whidbeywave
    Oct 27, 2005
  5. Ken Fine
    Replies:
    2
    Views:
    576
    Steven Cheng
    Sep 17, 2008
Loading...

Share This Page