Auto-Provision a Gateway License

This topic applies to both Appliance and Software Gateways.
This topic applies to both Appliance and Software Gateways.
A primary license must be installed for the
Layer7 API Gateway
to operate. Both primary and feature licenses can be auto-provisioned (installed "headlessly") or installed manually using the Policy Manager via the Manage Gateway Licenses task.
Note the following:
  • Auto-provisioning can only
    a license file. Removing, updating, or viewing a license must still be done through the Policy Manager.
  • Auto-provision a license after configuring a Gateway node headlessly (see Auto-Provision a Gateway Node; Appliance Gateways only).
  • After auto-provisioning a license, you can auto-provision internal services to ensure key internal services are published (see Auto-Provision Internal Services)
To auto-provision a license
  1. Run this command to create the following directory on the 
    Layer7 API Gateway
    # mkdir -p /opt/SecureSpan/Gateway/node/default/etc/bootstrap/license
  2. Run this command to set the appropriate permissions:
    # chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
  3. Copy the license file(s) into the above directory.
  4. Change the permissions on the license file:
    # chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/license/
  5. Change the owner of the
    # chown -R layer7:gateway /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
  6. Restart the Gateway service:
    # service ssg restart
  7. (Optional) Once the license file is auto provisioned, you may remove the "bootstrap" directory created in step 2:
    # rm -rf /opt/SecureSpan/Gateway/node/default/etc/bootstrap
Layer7 API Gateway
 is now licensed. To verify the license details, run Manage Gateway Licenses.