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
- In order to activate MetaDefender Core, deployment ID and activation key are needed to generate the license file.
- Activation key should be purchased from OPSWAT.
- MetaDefender Core deployment ID can be queried by using REST API (for details see GET Get Current License InformationAPI page)
- Activate license and get the license file using the following URL, where <quantity> is 1.
If the activation is successfully, a license file is downloaded. Save this file.
HTTP status codes can be:
- 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
For deactivation, following infomation is required:
- Activation key
- MetaDefender Core deployment ID: can be queried by using REST API (for details see GET Get Current License InformationAPI page)
Deactivate license using the following URL:
Response HTTP status codes can be:
Important notes
Was this page helpful?