erich.wanker Posted June 8, 2020 Posted June 8, 2020 Hello Hyperserver does not start my Desktop-App via SSL - i have Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.3.2 with https:// i become error: SSL_ERROR_RX_RECORD_TOO_LONG without https - it works i have 3 files from customer: server.crt, organisation.crt and secret.key (text editor shows " - - - - - BEGINN ..." ascii text) i renamed it to "cert.pem" "root.pem" and "key.pem" and stored it into htdocs folder (where the unigui app is) if i start the unigui.exe file - i become no error - i can click on trayicon - and see the server at http://localhost:8077/server Windows Server .. Firewall is open for Port 80 and 443 .. unigui and hyper_server.dll Version: 1.90.0.1531 httpd.conf of Apache Include "conf/extra/httpd-ssl.conf" httpd-ssl.conf of Apache Listen 443 unigui_application.cfg [transport] pool_size=0 command_timeout=20000 request_timeout=300000 connect_timeout=20000 [http_transport] start_port=16384 [hyper_server] binary_name=the unigui .exe initial_nodes=2 max_nodes=8 max_sessions=0 sessions_per_nodes=0 prompt_login=1 persistent_node_zero=0 port=80 url_path= url_referer= ext_root=[ext]\ uni_mobile_root=[unim]\ uni_root=[uni]\ uni_packages_root=[unipack]\ max_requests=500 detailed_log=0 antiflood_per_ip=0 server_root= server_title= unigui_application.ssl.cfg object TUniHyperSSL SSL.Enabled = true SSL.SSLOptions.RootCertFile = 'root.pem' SSL.SSLOptions.CertFile = 'cert.pem' SSL.SSLOptions.KeyFile = 'key.pem' SSL.SSLOptions.Method = sslvTLSv1_1 SSL.SSLOptions.SSLVersions = sslvTLSv1_1 SSL.SSLOptions.Mode = sslmUnassigned SSL.SSLOptions.VerifyMode = [] SSL.SSLOptions.VerifyDepth = 0 SSL.SSLPort = 0 end in my UniGUi App - Servermodule - SSL i used the same settings like the ssl-cfg-txt-file - COMPILED the version and uploaded to customer What must i check and set to use HTTPS ? the infos at http://www.unigui.com/doc/online_help/ssl-support-in-hyperserver.htm are not enouth ;-) Quote
Administrators Farshad Mohajeri Posted June 8, 2020 Administrators Posted June 8, 2020 Hello, When using under Apache you only need to config Apache SSL. There is no need to make any change to uniGUI SSL settings. SSL will be fully managed by the Apache. Quote
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.