Server Installation and Service » Historie » Revize 5
« Předchozí |
Revize 5/36
(rozdíl)
| Další »
Eliška Mourycová, 2021-05-19 14:45
Server Installation (WIP)¶
The server runs on Debian 10 VM at https://nuada.zcu.cz/
The ip of the machine is 147.228.173.54
Hardware requirements¶
TBD, however the default settings for creating the VM seem to suffice
Software requirements¶
The server app needs Mono framework to run. Tested on version 5.18.0.240.
For mono installetion see Mono installation.
"Deploying" the Server Application¶
Uploading the project to the remote machine¶
Current approach to uploading the project is to transfer a .zip file containing the .exe file and all the dlls needed for the server to run. At the moment that is the Server\ServerApp\bin\x64\Debug directory.
$ scp {dir_name}.zip root@{machine_ip}:/home/someDir
Building the project???¶
TBD - wasn't able to build on linux yet
Mono installation (needed for building as well as running)¶
$ sudo apt install mono-complete
Certificate generation and usage¶
Generating the certificate¶
http://www.mono-project.com/archived/using-clientcertificates-with-xsp/
$ makecert -r -n "CN=My Own Test CA" -sv root.key root.cer
$ certmgr --add -c Trust root.cer
$ hostname (displays the machine's host name)
$ makecert -iv root.key -ic root.cer -eku 1.3.6.1.5.5.7.3.1 -n "CN={hostname}" -p12 {hostname}.p12 s3kr3t
Linking the certificate to a port?¶
$ httpcfg -add -port {port} -pvk root.key -cert root.crt
Current port using the cerificate is 10000.
Adding trusted root certificates to the server (idk if this has any effect)¶
Copy your CA to dir /usr/local/share/ca-certificates/
Use command: sudo cp foo.crt /usr/local/share/ca-certificates/foo.crt
Update the CA store: sudo update-ca-certificates
Aktualizováno uživatelem Eliška Mourycová před téměř 4 roky(ů) · 5 revizí