可以通过代理服务器发出HTTPS请求吗?

时间:2012-11-19 07:12:46

标签: .net ssl https httpwebrequest

Dim Request As HttpWebRequest = WebRequest.Create("https://www.mysite.com/mysecurepage.php")
Request.Method = "POST"
Request.ContentType = "application/x-www-form-urlencoded"
Request.Proxy = New WebProxy("http://myproxy.com:8080");
Using writer As StreamWriter = New StreamWriter(Request.GetRequestStream())
    writer.Write(params)
End Using

如果HttpWebRequest是通过代理服务器进行的,代理服务器的代理服务器是HTTP而不是HTTPS(如上所述),是否可以实现{{1}与目标SSL网址的连接?

0 个答案:

没有答案