How To Enable HTTPS In Case Of On-premise Installation?

Certificate setup

To set up a certificate open the appsettings.json file, which is located in the Xopero ONE Management Service installation directory. By default: Windows: C:\Program Files\Xopero ONE Backup&Recovery Linux: /opt/XoperoONEManagementService

It's a simple JSON file, which has to be modified.

Find the comment_out_Kestrel section, which by default looks like this:

"commented_out_Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:5000"
}

and modify it by erasing the commented_out_ prefix and providing HTTPS configuration as below:

"Kestrel": {
"Endpoints": {
      		"Http": {
      		 		"Url": "http://*:5000"
      },
		"Https": {
				"Url": "https://*:5001",
				"Certificate":{
						"Path": "<.pfx file path>",
						"Password": "<certificate password>"
		}
	  }
    }
  }

Path - path to .pfx file (Remember to use double slash, so in case you're keeping the certificate in C:\cert.pfx directory provide the path in the following way: C:\\cert.pfx)

Password - certificate password

More information about the Kestrel configuration you can find:

Xopero ONE Management Service restart

After editing the appsettings.json files, remember to restart the management service.

  • Windows: net stop XoperoONEManagementService net start XoperoONEManagementService

  • Linux: systemctl restart XoperoONEManagementService

Last updated