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 REST API and the RAS Web Admin Console, some of which are shared between the two. The following table describes the parameters that apply to the REST API service:
Key
|
Description
|
WebAdminService{
|
|
REST{
|
|
Enable
|
Enable or disable the REST API 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.
|
}
|
|
}
|
|
}
|
|
|