Jump to content

SSL Demo not work in service mode


allenchow

Recommended Posts

  • 3 weeks later...

Anyone can help ? I always get this error :

 
Service failed on start: EIdOSSLLoadingRootCertError : Could not load root certificate.
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib : Addr: $00711631
 
Is it due to 32 bit service in windows 10  ? or any other reason ? 
Can't fixed ..........
Link to comment
Share on other sites

Oh ! Finally I got it :

 

I need to put :

 

procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);
begin
  SSL.SSLOptions.RootCertFile :=  UniServerModule.StartPath + 'root.pem';
  SSL.SSLOptions.CertFile :=  UniServerModule.StartPath + 'cert.pem';
  SSL.SSLOptions.KeyFile :=  UniServerModule.StartPath + 'key.pem';
end;
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...