lema Posted October 10, 2020 Share Posted October 10, 2020 Hello, my first impression of linux apache module was great! The FishFacts demo run excellent and very fast. I also ported a small application with calendar, calendarpanel and DB (something like scheduler). There were some small incompatibilities with images and icons which solved with the using of UniNativeImageList. The only that I couldn’t sorted out, was the SSL usage. reCaptcha died with “Could not load SSL library.” Does anyone have any experience on linux OpenSSL? uniGUI 1.90.0.1537 Delphi 10.3.3 Apache on Debian 10 1 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 12, 2020 Administrators Share Posted October 12, 2020 Hello, It can be resolved by using Apache and enabling SSL for Apache. 1 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 12, 2020 Administrators Share Posted October 12, 2020 We will also try to find a solution with SSL and standalone exe in Linux. Quote Link to comment Share on other sites More sharing options...
Scott Posted February 17, 2022 Share Posted February 17, 2022 You need version 1.0.2 of the OpenSSL to be able to make the standalone/hyper_server setup to work in Linux: -rw-r----- 1 testapp unigui 2504576 Feb 13 22:33 libcrypto.so.1.0.2 -rw-r----- 1 testapp unigui 431232 Feb 13 22:32 libssl.so.1.0.2 Put this in the same directory as your standalone/hyper_server binary and make sure your binary has read access. My application (service) is run under the "testapp" account in this example. I used certbot to create free letsencrypt certificates and use apache (on port 80) as a validation server. sudo certbot certonly --apache -d mydomain.com -d www.mydomain.com Then setup the *.pem certificate files as described in the uniGUI manual. (/etc/letsencrypt/live/mydomain.com/*.pem) I use Debian 11 and Delphi 11. Quote Link to comment Share on other sites More sharing options...
Skyp Posted February 3, 2023 Share Posted February 3, 2023 For Linux - HyperServer StandAlone. If anyone is looking for the collected libraries to run hyper_server under Linux - apply the lib.zip them - version 1.0.2k (copy and give the rights as written Scott) These are OpenSSL files with CentOS7 - just put them next to your hyper_server We use a certificate: The configuration is suitable for us for this: object TUniHyperSSL SSL.Enabled = True SSL.SSLOptions.RootCertFile = 'root.pem' SSL.SSLOptions.CertFile = 'cert.pem' SSL.SSLOptions.KeyFile = 'key.pem' SSL.SSLOptions.Method = sslvSSLv23 SSL.SSLOptions.SSLVersions = [sslvSSLv2, sslvSSLv3, sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2] SSL.SSLOptions.Mode = sslmBoth SSL.SSLOptions.VerifyMode = [] SSL.SSLOptions.VerifyDepth = 0 SSL.SSLPassword = 'mypassword' SSL.SSLPort = 0 end Lib.zip 1 Quote Link to comment Share on other sites More sharing options...
araujoadanr Posted December 31, 2023 Share Posted December 31, 2023 This solutions works fine. 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.