Skip navigation

If the subscriber changes the device or unsubscribes from the service, reassign the License key from the current subscriber’s device and reuse it with the new device. 
For each key, the limit on the number of clearings is 24 times. However, after 24 months since the first use of the keyreassigning will become unavailable.

Attention! To reassign (clean) a key in Ministra TV Platform versions 5.3-5.5, use the utility as described in the instructions below. Starting with version 5.6, you have the opportunity to clear the key in the administrative panel. See more here.

The License Key can work simultaneously on one device only. After being reassigned to another device, it will no longer be valid on the previous one.

To assign License Keys to the portal, in the custom.ini file, type the operator key:

operator_key = ''
To clear the keys, follow these steps:
  1. To receive the utility, contact a sales representative;
  2. Utility versions vary for different operating systems. Unpack the archive with the utility for your operating system into an arbitrary directory on the server.

  3. Install the OpenSSl library version 1.1.0 or higher.

  4. Install the libcrypto package.

  5. Install PHP version 5.5.9 or higher.

  6. Write in the config.yml file the values for the following parameters:

    db_host - host name or IP address of the database server;

    db_port - database server port;

    db_user - database username;

    db_pass - database user password;

    connection_protocol - data transfer protocol (tcp);

    db_name - database name of Ministra TV Platform, the default name is stalker_db;

    operator_secret - code word to be obtained by contacting the sales manager;

    operator_key - operator key to be obtained by contacting the sales manager;

    lang -  localization of the utility (en).


    When configuring SSH tunneling, ensure that in addition to OpenSSL, you install OpenSSH. In the config.yml file, set values for parameters that configure SSH tunneling:

    ssh_username - the username to connect over SSH;

    ssh_host - host name or IP address from which to connect to the database;

    ssh_password - SSH server user password;

    ssh_key - private key, which is used to identify the client when connecting to the server via SSH protocol.

    ssh_port - SSH server port on remote host.

    ssh_passPhrase - password for private key.

To clear License Keys from a file, run the command:

./ClearKeyUtils /full/path/to/file/license

where /full/path/to/file/license – full path to the file with the keys, which should be in .csv format). You can use the example.csv file in the directory with the utility.

To clear a list of License Key, run the command:

./ClearKeysTool license_key_1 license_key_2 ... license_key_N

where license_key_1 license_key_2 ... license_key_N is a list of license keys, separated by spaces.

To clear one License Key, run the command:

./ClearKeysTool license_key

where license_key  is one license key.

After completing the utility run, each key is displayed in one of these sections:

Cleared license keys – cleared license keys that can be reused on other devices;

Skipped license keys – keys that cannot be cleaned because they were not used;

Blocked license keys – blocked keys;

Denied license keys – keys do not belong to the operator;

Clear limit reached license key – keys that have a cleanup limit expired;

Expired license keys – keys that have expired;

License keys with invalid format – keys with the wrong format;

License keys with send error – failed to send a cleanup request.

In each of the sections for a given key will be displayed:

  • Expire Date - expire date after which the key clearing will be unavailable;
  • Cleared limit - the number of key reassigning that can be completed within 24 months;
  • Usage cleared attempts - the number of used cleaning attempts. When the number of reassignments exceeds the allowable limit, key overwriting will become unavailable.
Need Help

Cindy is an expert on the Ministra TV platform and the author of this article.

Was this article helpful?

Yes No

Sorry to hear that.
How can we improve this article?

We use cookies in order to optimise our website, provide you with the best possible user experience and help us promote our products. Please read our Cookie Policy to find out how we use cookies and how you can control cookies.
By using this website or closing this message, you acknowledge our Privacy Policy and agree to our use of cookies as described in our Cookie Policy.