Retrieving HTTPS page info
How can I retrieve the server response info from an HTTPS page (CGI)? In the page I have a login form, and I only need to retrieve the server name which is shown just before the username and password fields.
I'm now using this with the the Inet control which supports HTTPS to attemp retrieval of the login page:
Code:
Inet1.AccessType = icDirect
Inet1.Protocol = icHTTPS
Inet1.RemotePort = 443
Inet1.URL = txtURL.Text
rtbMain.Text = Inet1.OpenURL
But this doesn't return anything for the https pages... it does return the server error page when using the "http://..." address, which is refused by server, but nothing for the https page. Could this be because the server provides some kind of certificate which must be accepted before attemp the login?