Note this is a global setting and affects the entire application. It's recommended you set this for the application and not on a per request basis.
public static bool IgnoreCertificateErrors { set; }