OK!
I assume, your server is a Windows based computer (for ex. Windows 10).
This tutorial depends on the free of charge SSL certificate from zerossl ( https://app.zerossl.com/dashboard ).
a. Create an account on https://app.zerossl.com/dashboard
b. Certificates->New certificate
c. switch off CSR autogenerates
d. insert your company etc.
e. you have 3 possibilities to verify, that your are the owner of the domain
f. (only needed, when you use dynamic IP service like Noip.com or DynDns)
In this case you can only verify your domain with the HTTP-Upload method. Therefore you have to install a webserver on the host computer. So load and install XAMPP (https://www.apachefriends.org/de/index.html) and run it minimally (clear every hook possible ).
Then forward port 80 in the router to your host computer IP. If an error occurs with port 443, set the listen port to “Listen 8078” in the file “c:\xampp\apache\conf\extra\httpd-ssl.conf” (line 36). Start xampp-control.exe and start Apache.
Now copy the file created by ZeroSSL in the directory “c:\xampp\htdocs\.well-known\pki-validation” (the last two directories have to be created first)
g. now perform the validation at zerossl.
h. download the certificate now (Server=Default).
i. unpack the certificate in your HyperServer-directory
j. rename private.key to key.pem
now you have to convert the CRT-files to x509 encryption
k. install OpenSSL (https://sourceforge.net/projects/openssl/files/latest/download)
l. start Win64-OpenSSL Command Prompt
m. from the OpenSSL command line, switch to the hyperserver directory and call:
openssl x509 -in certificate.crt -out cert.pem -outform PEM
openssl x509 -in ca_bundle.crt -out root.pem -outform PEM
n. then do a right-click on both CRT files and install the certificate (for local computer).
o. because SSL-versions lower than TLS1_2 are rejected by modern browsers it's important to set in UniGui:
SSL.SSLOptions.Method = sslvTLSv1_2
SSL.SSLOptions.SSLVersions = [sslvTLSv1_2]
That's it. I recommend the use of NoIP.COM if you need a Dynamic IP-Service. It's free and easy to install.
I hope, this helps a bit to handle the SSL-stuff with UniGui.
Regards
Mike