Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up SSL Certificate for TidServerIOHandlerSSLOpenSSL
#3
I get this crazy error:

[Image: attachment.php?aid=209]

All my (test) code is:

Code:
procedure TForm1.Button1Click(Sender: TObject);

begin
  IdHTTPServer1.IOHandler:=SSLStack;
  IdHTTPServer1.Active:=TRUE;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
SSLStack.SSLOptions.RootCertFile:='C:\Temp\zeroSSL.txt';
SSLStack.SSLOptions.CertFile:='C:\Temp\cert.crt';
SSLStack.SSLOptions.KeyFile:='C:\Temp\key.key';
end;


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Setting up SSL Certificate for TidServerIOHandlerSSLOpenSSL - by wolfgang@koeppner-bures.at - 01-08-2020, 04:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)