Key File

Top  Previous  Next

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 Linux. 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 Linux operation, the key file must be located in the default directory /etc/opt/drweb.com under the name drweb32.key.

Components of Dr.Web for Linux 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 the product 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.

Dr.Web key files are usually packed in a ZIP archive if sent via email. The archive with a key file is named agent.zip (note that if there is several archives in an email message, you should use only agent.zip). In the Registration Wizard, you may specify the direct path to the archive without its unpacking. Before installing a key file, unpack it using any suitable tool and extract a key file to any directory (for example, to your home directory or to a USB flash drive).

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 Linux on another computer), you can activate Dr.Web for Linux by specifying the path to the key file. You can specify the key file path:

In the License Manager by clicking Other activation types on the first step of the registration procedure and specifying a path to the key file or to the zip archive with the key.

Manually. For that purpose

1.Unpack the key file if archived

2.Copy the key file to the /etc/opt/drweb.com directory and rename the file to drweb32.key if necessary.

3.Execute the command

# drweb-ctl reload

to apply all changes.

You can also use the following command:

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

In this case, the key file will not be copied to the /etc/opt/drweb.com directory and will remain in its original location.

If the key file is not copied to the /etc/opt/drweb.com directory, the user becomes responsible for ensuring that the file is protected from corruption or deletion. This installation method is not recommended as the key file can be accidentally deleted from the system (for example, if the directory, where the key file resides, is periodically cleaned up). Remember that if a key file is lost, you can request the support for a new one, but the number of such requests is limited.