Compact Framework: https through proxy server
From: Mike (mikeotown_at_nospam.msn.com)
Date: 05/28/04
- Next message: HeatherW: "Re: Decrypt RSA using D"
- Previous message: Daniel Billingsley: "Re: Books on enterprise application."
- Next in thread: Peter Huang: "RE: Compact Framework: https through proxy server"
- Reply: Peter Huang: "RE: Compact Framework: https through proxy server"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 10:10:59 -0400
I'm posting this here because no one responded to my post in the compact
framework NG and this is a MSDN "managed" newsgroup and I'm a MSDN
subscriber.
I'm unable 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 (VB):
----------------------------------------------------------------------------
------
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.
- Next message: HeatherW: "Re: Decrypt RSA using D"
- Previous message: Daniel Billingsley: "Re: Books on enterprise application."
- Next in thread: Peter Huang: "RE: Compact Framework: https through proxy server"
- Reply: Peter Huang: "RE: Compact Framework: https through proxy server"
- Messages sorted by: [ date ] [ thread ]