Home

Traffic Server Software Developers Kit

Generating a License Key

The gen_key tool generates a license key based on your plugin name (which must match the plugin name entered in the plugin.db file), an expiration date, and a customer ID (so that you can give different license keys to different customers). You can specify an expiration date of 0 which means that the plugin never expires.

Running the gen_key tool

  1. First, cd to the sdk/tools directory in your SDK package.

  2. Then, enter the following:

    gen_key plugin_name ID expiration

    • plugin_name is the name of the plugin; it needs to match the name specified in plugin.db

    • ID is a string of 5 alphanumeric characters, used to identify different customers

    • expiration is the expiration date of the plugin in the following format: mmddyyyy

      For example: you should enter 03312001 for March 31, 2001. To indicate no expiration, use 0.