Key File

The key file is a special file stored on the local computer. It corresponds to the purchased license or activated demo period for Dr.Web for UNIX File Servers. The file contains information on the provided license or demo period and regulates usage rights in accordance with it.

The key file has .key extension and is valid if satisfies the following criteria:

License or demo period is not expired.

Demo period or license applies to all anti-virus components required by the product.

Integrity of the key file is not violated.

If any of the conditions are violated, the license key file becomes invalid.

During Dr.Web for UNIX File Servers operation, the key file must reside in the default <etc_dir> directory (etc/opt/drweb.com for Linux) and have the drweb32.key name.

Components of Dr.Web for UNIX File Servers regularly check whether the key file is available and valid. The key file is digitally signed to prevent its editing. So, the edited key file becomes invalid. It is not recommended to open your key file in text editors in order to avoid its accidental invalidation.

If no valid key file (license or demo) is found, or if the license is expired, operation of the anti-virus components is blocked until a valid key file is installed.

It is recommended to keep the license key file until it expires, and use it to reinstall Dr.Web for UNIX File Servers or install it on a different computer. In this case, you must use the same product serial number and customer data that you provided during the registration.

Key File Installation

If you have a key file corresponding to the valid license for the product (for example, if you obtained the key file by email or if you want to use Dr.Web for UNIX File Servers on another server), you can activate the solution by specifying the path to the key file.

For that purpose:

1.Unpack the key file if archived

2.Do one of the following:

Copy the key file to the <etc_dir> directory and rename the file to drweb32.key

In the Dr.Web for UNIX File Servers configuration file, specify the key file path as the KeyPath parameter value.

3.If required, restart drweb-configd component by sending it the SIGHUP signal.

You can also use the following command:

# drweb-ctl cfset Root.KeyPath </path/to/key/file>

In this case, the key file will not be copied to the <etc_dir> directory and will remain in its original location.

For details on conventions used for <opt_dir>, <etc_dir>, and <var_dir>, refer to Introduction.