title: Could not load SSL library
body: <p>I'm trying to use REST. So I'm using the <code>TIdHTTP</code> component. But it says 'Could not load SSL Library'.
  What am I missing? My knowledge about SSL is zero.</p>
  <p>I'm using Delphi 2007, Indy 10.1.5, and Windows 32-bit.</p>
  <p>I put <code>libeay32.dll</code> and <code>ssleay32.dll</code> in my EXE directory (I found these DLL files at <a href="https://indy.fulgan.com/SSL/" rel="nofollow noreferrer">https://indy.fulgan.com/SSL/</a>, file <code>openssl-1.0.2t-i386-win32.rar</code>).</p>
  <pre><code>type
    TForm1 = class(TForm)
    IdSSLIOHandlerSocketOpenSSL1: TIdSSLIOHandlerSocketOpenSSL;
    ...
  
  procedure TForm1.btn_ReqCheckServerClick(Sender: TObject);
  var
    s: string;
    lHTTP: TIdHTTP;
  const
    URL_CHECK_SERVER = 'http://example';  // some URL site to ping
  begin
    lHTTP := TIdHTTP.Create(nil);
    try
      lHTTP.IOHandler:=IdSSLIOHandlerSocketOpenSSL1;
      IdSSLIOHandlerSocketOpenSSL1.SSLOptions.Method:=sslvTLSv1;
      lHTTP.ProtocolVersion:=pv1_1;
      lHTTP.Request.ContentType := 'application/json';
      lHTTP.HandleRedirects := True;
      s := lHTTP.Get(URL_CHECK_SERVER);
      ShowMessage(s);
    finally
      lHTTP.Free;
    end;
  end;
  </code></pre>