https through proxy server

M

Mike

Has anyone been able to make a https connection through a proxy server using
the compact framework? I can connect with no problem using http, but when I
add the "s" after "http" in the URI, I get a System.Net.WebException raised:
System.Net.WebException.Message = "Could not establish secure channel for
SSL/TLS"

Here is what the code looks like:

myRequest = Utils.CreateWebRequest("https://www.server.com/page.php")
Try

myResponse = myRequest.GetResponse()

Catch ex As System.Net.WebException ' Exception from above line is caught
here

msgbox ex.message

End Try


I can also connect to the https address without a proxy server so it seems
to be the combination of https and the proxy server that is the problem. I
have seen other posts about this, but no resolutions.
 
M

Mike

The problem only occurrs when the proxy server requires authentication.
This has been confirmed to be a bug in the CF 1.0 SP2. See the thread in
microsoft.public.dotnet.framework for more info.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top