Actually, it is not possible to establish a secure connection with the site, I tried the usual webrequest, xnet, chilkat - nothing helps, but the request in the browser passes. Presumably, the reason lies in the installation of the certificate (or chain).

here is the link https://mservice-darkpod.bankofamerica.com/

  • Everything works for me through WebRequest, maybe someone intercepts traffic from you and substitutes your certificate? - Zergatul
  • yes at first sniffer, but the fact is that it worked with the sniffer, and then it stopped, can you sample your code? - Monolith
  • I can still assume that not all machines can work (because of what I do not know) - Monolith
  • var req = WebRequest.CreateHttp("https://mservice-darkpod.bankofamerica.com/"); var resp = req.GetResponse(); string s = new StreamReader(resp.GetResponseStream()).ReadToEnd(); - Zergatul
  • one
    By the way, you can substitute your callback here if you want to work with the sniffer: HttpWebRequest.ServerCertificateValidationCallback - Zergatul

1 answer 1

If you work with sniffers, or someone substitutes your certificate, you can override the server certificate verification in HttpWebRequest.ServerCertificateValidationCallback .