Force webrequest to connect without valid certificate on server

  • Thread starter Thread starter Martin Wallgren
  • Start date Start date
M

Martin Wallgren

I've been looking a bit on Google and MSDN to find out how to accept a
connection to a server even if it doesn't have a valid certificate. It
there a way to set a property of the HttpWebRequest method to enable
this behavior?

My program will be used on the campus network and every server that
handles the login to Internet have a certificate that has been issued by
the Root CA of the university. The problem is that not many students
have downloaded and installed this root cert.

If the above problem cannot be solved, is there a way to install a root
cert by code?

I develop in C# using .NET Framework 1.1.
 
Back
Top