Configuring RAS Web Service
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
|
Description
|
|
WebAdminService{
|
|
|
WebConsole{
|
|
|
Enable
|
Enable or disable the Web Console service (true / false).
|
|
}
|
|
|
Session{
|
|
|
Expire
|
The number of minutes that a session can remain idle before it is terminated.
|
|
}
|
|
|
}
|
|
|
AllowedHosts{
|
|
|
EndPoints{
|
|
|
HttpsDefaultCert{
|
|
|
Url
|
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 in PFX format, uncomment this section and specify values for the following two keys.
|
|
Path
|
A path to the PFX file.
|
|
Password
|
A file password.
|
|
}
|
|
|
}
|
|
|
Http{
|
|
|
Url
|
HTTP URL pattern and port number. The default port is 20080. You can specify a different port if needed.
|
|
}
|
|
|
}
|
|
|
}
|
|
|