I am trying to access a web page with the https protocol.
Here's my code:
And here's the message I get:
[tt]
The underlying connection was closed: Could not establish trust relationship with remote server.[/tt]
This code works with the http protocol. It only gives me this error when trying to use https.
Thanx in advance for any help.
Chris
Here's my code:
Code:
Dim http As System.Net.HttpWebRequest
Dim strm As System.IO.Stream
http = System.Net.HttpWebRequest.Create("[URL unfurl="true"]https://secure.website.com")[/URL]
strm = http.GetResponse.GetResponseStream
And here's the message I get:
[tt]
The underlying connection was closed: Could not establish trust relationship with remote server.[/tt]
This code works with the http protocol. It only gives me this error when trying to use https.
Thanx in advance for any help.
Chris