Bypass SSL Certificate Validation in .NET

In a .NET development, if you try to connect to the remote server through a web service with SSL you will probably get the following error message: “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.” The inner Exception.Message is: “The remote certificate is invalid according to the validation
Continue reading Bypass SSL Certificate Validation in .NET