Jump to content

Recommended Posts

Posted

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 ;-)

 

 

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...