title: How can we connect with a website? Getting SSL error 1409442E
body: <p>I am using Delphi 10.2 Tokyo, trying to download some information from a web server.</p>
  
  <p>I pass the command URL <code>https://poloniex.com/public?command=returnCurrencies</code> through this function using Indy 10.6.2.5366 (the command works if I paste it in a browser):</p>
  
  <pre><code>function ReadHTTPS(const url: string): string;
  var
    IdHTTP: TIdHTTP;
    IdSSL: TIdSSLIOHandlerSocketOpenSSL;
  begin
    IdHTTP := TIdHTTP.Create;
    try
      IdSSL := TIdSSLIOHandlerSocketOpenSSL.Create(IdHTTP);
      IdHTTP.IOHandler := IdSSL;
      result := IdHTTP.Get(url);
      if IdHTTP.ResponseText &lt;&gt; '' then
        OutputDebugString(PWideChar('ReadHTTPS: ' + IdHTTP.ResponseText));
    finally
      IdHTTP.Free;
    end;
  end{ ReadHTTPS};
  </code></pre>
  
  <p>That gives the following error:</p>
  
  <blockquote>
    <p>Error connecting with SSL.
    error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version</p>
  </blockquote>
  
  <p>I have tried installing the latest DLLs for OpenSSL in the same directory as the exe, but that didn't solve it.</p>
  
  <p>Any ideas?</p>