Scripted license management

Using REST API calls there is an option for scripted activation and deactivation for MetaDefender Core servers with no Internet connection or if your infrastructure is using automation to create/destroy MetaDefender Core instances. In this chapter the steps of these two scenarios are described.

Requirements

  • an installed MetaDefender Core instance without Internet connection
  • another computer that has Internet connection and can run your activation scripts
  • a manual or automated way to transfer data between the two computers

Activation steps

  1. In order to activate MetaDefender Core, deployment ID and activation key are needed to generate the license file.
    1. Activation key should be purchased from OPSWAT.
    2. MetaDefender Core deployment ID can be queried by using REST API (for details see GET Get Current License InformationAPI page)
  1. Activate license and get the license file using the following URL, where <quantity> is 1.
activation call

If the activation is successfully, a license file is downloaded. Save this file.

HTTP status codes can be:

  1. Upload license file to MetaDefender Core: The license file should be uploaded to the MetaDefender Core v4 to activate the product. For details see page: POST Upload license keyAPI

Deactivation steps

  1. For deactivation, following infomation is required:

    1. Activation key
    2. MetaDefender Core deployment ID: can be queried by using REST API (for details see GET Get Current License InformationAPI page)
  2. Deactivate license using the following URL:

deactivation call

Response HTTP status codes can be:

Important notes

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard