Force webrequest to connect without valid certificate on server

  • Thread starter Martin Wallgren
  • Start date


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.


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

Similar Threads