title: Indy 10 HTTPS Proxy
body: <p>I have a small program here that uses idHTTP to download some things from a https server . I need to alter this program to use a HTTPS Proxy server . 
  I got two IP addresses for the proxy 1.1.1.1 8080 for HTTP , and 2.2.2.2 8084 for HTTPS .</p>
  
  <p>I altered my code to look like this :</p>
  
  <pre><code>  try
     IdHTTP1:=TIdHTTP.Create(nil);
     try
      LHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
      try
        // does not seem to do anything
        LHandler.TransparentProxy.Host:='2.2.2.2';
        LHandler.TransparentProxy.Port:=8084;
        LHandler.TransparentProxy.Enabled:=true;
  
        // this works even when using HTTP proxy for HTTPS
        idHTTP1.ProxyParams.ProxyServer:='1.1.1.1';
        idHTTP1.ProxyParams.ProxyPort:=8080;
  
  
        IdHTTP1.IOHandler:=LHandler;
        Src:= IdHTTP1.Get('https://csv.business.tomtom.com/extern?account='+company+'&amp;username='+user+'&amp;password='+password+'&amp;apikey='+apikey+'&amp;lang=en&amp;action=showObjectReportExtern');
      finally
        LHandler.Free;
      end;
     finally
       IdHTTP1.Free;
     end;
    except on E: Exception do
  //      Writeln(E.ClassName, ': ', E.Message);
    end;
  </code></pre>
  
  <p>Can someone please show me how do I tell idHTTP LHandler to USE the HTTPS Proxy ? </p>
  
  <p>Thank you!</p>