Server Installation and Service » Historie » Revize 2
« Předchozí |
Revize 2/36
(rozdíl)
| Další »
Eliška Mourycová, 2021-05-05 15:39
Server Installation (WIP)¶
The server runs on Debian 10 VM at https://nuada.zcu.cz/
Hardware requirements¶
"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
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(ů) · 2 revizí