Configuring license settings manually
Most licensing for AppScan®
Source is
handled by the License Manager. Through the License
Manager, you can configure licensing using a cloud or
local license server, or a proxy server. You can configure license settings manually either by editing the
license.ozsettings config file directly or running the
licensemanager.bat script with parameters.
Editing the license.ozsettings config file
The license configuration file, license.ozsettings, specifies properties for how licenses are managed for HCL® AppScan® Source. The license.ozsettings file resides in <data_dir>\config (where <data_dir> is the location of your AppScan® Source program data, as described in Installation and user data file locations). You can use the command line to edit the file.
| Property | Default Value | Description |
|---|---|---|
use_node_lock_license |
false | Specify whether node-locked license is configured:
|
license_server_url |
n/a | License server URL |
license_borrow_interval |
24 | The inactivity interval, in hours, for which AppScan® Source retain a license. The minimum is 24 hours and the maximum is 168 hours. When a license is inactive for the specified number of hours, the license is released back to the license server for use by another instance of the product. |
use_local_ssl_cert |
true | While authenticating certificate to a local
license server:
|
Running the licensemanager.bat script
Use licensemanager.bat at the command line.
licensemgr.bat -configure -proxy -host <proxyHost> -port <proxyPort> [-user <username> -password <password>]-
-host: Specifies proxy server hostname. -
-port: Specifies proxy server port. -
-user: Optional. Specifies username to connect to proxy server. -
-password: Optional. Specifies password to connect to proxy server.
licensemgr.bat -configure -url <licenseServerUrl> [-acceptcert]-
-url: Specifies license server URL. -
-acceptCert: Optional. If provided, accepts certificate to connect to the license server.
licensemgr.bat -importLicenseFile licensefile.license-importLicenseFile: Specifies that the license file is imported from the subsequent named file.licensefile.license: The name of the license file to import.
licensemgr.bat -getFingerPrint-getFingerPrint: Retrieves the fingerprint of the local host.