CertificatePolicy and .Net requests

G

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top