C# Ignore certificate errors?

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2010-04-20T12:42:13Z Indexed on 2010/04/20 12:53 UTC
Read the original article Hit count: 1139

Filed under:
|

I am getting the following error during a web service request to a remote web service:

Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

Is there anyway to ignore this error, and continue.

It seems the remote certificate is not signed.

The site I connect to is www.czebox.cz - so feel free to visit the site, and notice even browsers through security exceptions.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about ssl