Configuring RAS Web Administration Service (Management Portal)

0 users found this article helpful

The configuration of the RAS Web Administration Service is saved as a JSON file at the following location: C:\Program Files (x86)\Parallels\ApplicationServer\WebAdminService\appsettings.json


To edit the file, open it in an advanced text editor like Wordpad or Notepad++. The file contains configuration parameters for the RAS Web Admin Console and the RAS REST API, some of which are shared between the two. The following describes the parameters that apply to the RAS Web Console service
 

Key Meaning
{     
  "WebAdminService": {  
    "WebConsole": { Enable or disable the Management Portal service listener (true / false)
      "Enable": true,  
  "PollingInterval": 5 Delay between data refresh performed by Management Portal instances in seconds. We recommend not to reduce it too much to avoid extra load on your RAS Server
    },     
    "REST": { Enable or disable the REST API listener (true / false)
      "Enable": true  
    },     
    "RASServer": {     
      "LicenseServer": "localhost"    Publishing Agent address Management Portal connects to
    },     
    "Session": {     
      "Expire": "30",    The number of minutes that a session can remain idle before it is terminated
      "DisconnectDelay": "5"    Legacy parameter, not used since v17.1
    }     
  },     
   
  "AllowedHosts": "*",     
  "Kestrel": {     
    "EndPoints": {  
      "HttpsDefaultCert": {     
        "Url": "https://*:20443" HTTPS URL pattern and port number. The default port is 20443. You can specify a different port if needed.
        //"Certificate": { This section is commented out by default. If you would like to specify a custom SSL certificate, please follow the instruction below
       //    "Path": "",     
        //    "Password": ""     
        //}     
      },  
      "Http": {     
        "Url": "http://*:20080"    HTTP URL pattern and port number. The default port is 20080. You can specify a different port if needed.
      }     
    }     
  }     
}  

If you would like to use a custom SSL .PFX certificate, please replace the HttpsDefaultCert section with the following:

 
"HttpsDefaultCert": {
    "Url": "https://*:20443",
    "Certificate": {
        "Path": "C:\\myCert\\cert.pfx",
        "Password": "PlainTextPassword!"
    }
}

Note:

  1. Make sure that there is a comma (,) after "Url""https://*:20443".
  2. The PFX File Path in the format as C:\\myCert\\cert.pfx
  3. The PFX Password in plain text.

Was this article helpful?

Tell us how we can improve it.