In this article:
This article describes how to setup a certificate in order to secure access Xopero ONE platform.
In order to setup a certificate open appsettings.json file, which is located in Xopero ONE Management Service installation directory. It's a simple JSON file, which has to be modified.
Find comment_out_Kestrel section, which by default looks like this:
and modify it by erasing comment_out_ prefix and providing HTTPS configuration as below:
"Path": "<.pfx file path>",
"Password": "<certificate password>"
Path - path to .pfx file (Remember to use double slash, so in case if you're keeping certificate in C:\cert.pfx directory provide the path in following way: C:\\cert.pfx)
Password - certificate password
More information about Kestrel configuration you can find there:https://docs.microsoft.com/pl-pl/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-5.0.
Once you'll set up the management service you need to switch agent communication to HTTPS. In order to do this you need to find config.json in the agent installation directory and change there protocol. In the same way you can change the ports used by Xopero ONE.