allenchow Posted December 12, 2017 Share Posted December 12, 2017 I can run the SSL DEMO in general server mode I cannot start the SSL DEMO in servicer mode. Please help and test ,. Thanks ! Quote Link to comment Share on other sites More sharing options...
allenchow Posted December 29, 2017 Author Share Posted December 29, 2017 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 .......... Quote Link to comment Share on other sites More sharing options...
allenchow Posted December 29, 2017 Author Share Posted December 29, 2017 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; Quote Link to comment Share on other sites More sharing options...
allenchow Posted December 29, 2017 Author Share Posted December 29, 2017 One more question : How can I do automatically redirect to 'https:' if user type 'http' ? Quote Link to comment Share on other sites More sharing options...
pedrisco Posted December 30, 2017 Share Posted December 30, 2017 http://forums.unigui.com/index.php?/topic/9184-redirect-http-to-https/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.