Skip to main content

Automatic License Installation

IQ Server can be configured to install a Sonatype License file automatically.

1. Open the config.yml file and find the following option.

# Path to a license file to automatically install if unlicensed.
#licenseFile: ./license.lic

2. Remove the "#" character in front of licensefile to uncomment the line.

3. Change the value to the relative or absolute path to your license file.

An example would be:

# Path to a license file to automatically install if unlicensed.
licenseFile: ./folder where our license is saved/our2022license.lic

Considerations

When using this process, keep in mind these considerations.

  • When a license is already installed, this option will have no effect.

  • The IQ Server will fail to start when the product is currently unlicensed and the license file cannot be accessed.