Auto-Provision a Gateway License
This topic applies to both Appliance and Software Gateways.
gateway91
This topic applies to both Appliance and Software Gateways.
A primary license must be installed for the
CA 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 onlyinstalla 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
:- Open a privileged shell.
- Run this command to create the following directory on theAPI Gateway:# mkdir -p /opt/SecureSpan/Gateway/node/default/etc/bootstrap/license
- Run this command to set the appropriate permissions:# chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
- Copy the license file(s) into the above directory.
- Change the permissions on the license file:# chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/license/<licenseFileName.xml>
- Change the owner of thebootstrapdirectory:# chown -R layer7:gateway /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
- Restart the Gateway service:# service ssg restart
- (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
The
CA API Gateway
is now licensed. To verify the license details, run Manage Gateway Licenses.