Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Proxy with SSL

www.cryer.info
Managed Newsgroup Archive

Re: Proxy with SSL

Subject:Re: Proxy with SSL
Posted by:"Kees Vermeulen" (in..@kever.com)
Date:Mon, 12 Jun 2006 13:10:14

Remy,

Thanks for your answers. It working fine now.

Regards,

Kees


Remy Lebeau (TeamB) wrote:
> "Kees Vermeulen" <info@kever.com> wrote in message
> news:448976ee$1@newsgroups.borland.com...
>
>
>>I'm trying to talk to an HTTPS server through a proxy (Indy
>>10.1.5. and D2006).
>
>
> Does the proxy support HTTPS to begin with?  Not all do.
>
>
>>   Proxy: TIdCustomTransparentProxy;
>
>
> Get rid of that.  TIdHTTP has its own native proxy support.  Use its
> ProxyParams property to set that up.
>
>
>>   Proxy := TIdConnectThroughHttpProxy.Create;
>
>
> TIdConnectThroughHttpProxy is designed for non-HTTP protocols to be proxied
> through an HTTP proxy, since that is a common port that proxy admins allow
> to pass through the network.  Do not use it with TIdHTTP.
>
>
>>   Proxy.Host := <ip-address>;
>>   Proxy.Port := 8080;
>
>
> Use the ProxyParams property instead:
>
>     Http.ProxyParams.ProxyServer := <ip-address>;
>     Http.ProxyParams.ProxyPort := 8080;
>
>
>>When Get() is called, the url is successfully retrieved, however
>>not through the proxy.
>
>
> You did not set the TIdConnectThroughHttpProxy's Enabled property to True.
> It is False by default.
>
>
> Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive