Installation with an SSL certificate

Learn how to connect to GitProtect Management Service admin panel via encrypted HTTPS protocol.

Kestrel configuration

You can find more information about Kestrel configuration here.

1

Open appsettings.json file located in GitProtect Management Service installation directory.

2

Find commented_out_Kestrel line.

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

Modify the following code lines — erase commented_out_ prefix and add the HTTPS configuration as follows:

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

Path: path to the .pfx file*

Password: certificate password

*IMPORTANT! Remember to use double slash— if you're keeping the certificate in C:\cert.pfx directory, the path should be entered as C:\\cert.pfx instead.


Worker configuration

1

Go to your GitProtect worker installation directory and open config.json file.

Default location of the config.json file is:

  1. For Windows: C:\Program Files\Xopero ONE Backup&Recovery Agent

  2. For Linux: /opt/XoperoONEBackupAgent/

2

Change the ServiceUrl value from HTTP to HTTPS.

Example of config.json file opened in Notepad++.
3

Once the value is changed, the worker will come back online.

Last updated