title: Error connecting with SSL using IdHttp Indy
body: <p>I have a problem in IdHttp using Indy (Delphi).</p>
  
  <p>I try to using IdHttp to post XML in web service SOAP, but dont work. Return "Error connecting with SSL." in IdSSLOpenSSL.Connect@1437 from indy.</p>
  
  <p>My code is simple:</p>
  
  <pre><code>procedure TForm1.Button1Click(Sender: TObject);
  var
    vRequest : TStringStream;
    s : String;
  begin
    vRequest  := TStringStream.Create((Memo1.Lines.Text));
    try
      IdHTTP1.Host                       := edHost.Text;
      IdHTTP1.Request.ContentLength      := length(Memo1.Lines.Text);
      IdHTTP1.Request.ContentType        := edContentType.Text;
      IdHTTP1.Request.CustomHeaders.Text := 'SOAPAction: "removed for safe"'#13#10;
      IdHTTP1.request.CacheControl       := 'no-cache';
      IdHTTP1.Request.AcceptEncoding     := edAccept.Text;
      IdHTTP1.HTTPOptions                := [hoKeepOrigProtocol];
      IdHTTP1.ProtocolVersion            := pv1_1;
  
      Memo2.Clear;
      try
        s := IdHTTP1.post(Edit1.Text, vRequest);
        Memo2.Lines.Text := s;
      except
        on e: EIdHTTPProtocolException do begin
          Label1.Caption     := e.Message;
          MEMO2.LINES.TEXT   := e.Message;
        end;
        on e:Exception do begin
          Label1.Caption     := e.Message;
          MEMO2.LINES.TEXT   := e.Message;
        end;
      end;
  
      requestHeaders.Lines.Text  := IdHTTP1.Request.RawHeaders.Text;
      responseHeaders.Lines.Text := IdHTTP1.Response.RawHeaders.Text;
    finally
      vRequest.Free;
    end;
  end;
  </code></pre>
  
  <p>In exe folder contain libeay32.dll and ssleay32.dll. Any sugestion? </p>
  
  <p>I Used delphi 5, but in delphi 7 is the same problem.</p>