Skip to main content
User guide

Licence

View the current licence, usage and features, create an offline activation request and import the licence file, activate online, and understand what happens when a licence expires or becomes restricted.

Settings > Licence (授权) manages this instance's licence. Viewing needs View system settings; importing and deleting need Modify system settings. For the differences between editions, see Editions.

The licence is issued to the control plane and bound to the control plane host's fingerprint. Data plane nodes need no licence. Site and node limits are part of the licence. Without a licence, the product runs as the Free edition.

What the page shows

SectionContents
Current licenceType (offline or online), expiry, days remaining, licence number, issue date, customer, import date
UsageSites and remote nodes against the licensed limits
FeaturesWhether each paid feature is licensed
This hostHost fingerprint, what it is bound to (host machine-id or Kubernetes cluster) and the trusted public keys

Offline activation

Offline activation is the default and needs no outbound access.

  1. Select Create activation request (生成激活请求), enter the customer name from your contract (letters, digits and ._@-, up to 64 characters) and select Download. You get a .fpreq file containing this host's fingerprint.
  2. Send the .fpreq file to Reallysec.
  3. When you receive the licence, select Import licence (导入授权) and upload the .lic file (up to 256 KB).

The licence is valid only on the control plane that created the request. If the page says a host fingerprint cannot be created, see the FAQ.

Online activation

Online activation needs outbound access: set RSTWAF_ONLINE_FEATURES=on and RSTWAF_LICENSE_SERVER in .env. Import the online licence from Reallysec and it activates automatically, then sends a daily heartbeat. Sync now (立即同步) syncs with the licence server immediately. If the server cannot be reached for longer than the grace period (set by the licence, at most 7 days), the licence becomes restricted.

Expiry and restriction

StateDescription
ValidThe licence is valid
ExpiringFrom 30 days before expiry (7 days for trials), the page warns and an alert is raised
Grace periodFor 30 days after expiry everything keeps working, with notices and alerts
RestrictedThe grace period has ended, the licence was revoked, the system clock was set back, or an online licence has not reached the licence server for too long

When restricted, the console pauses configuration changes. Changing protection policy or system settings, generating reports and upgrading software are refused with the reason and a note that configuration changes are paused. Viewing pages and handling bans still work. Detection and blocking carry on, and nodes keep protecting traffic with the current configuration. Entering the restricted state raises a critical system alert (授权失效,控制台已受限).

Saving a feature that is not licensed is refused with a message naming the missing feature. Turning the feature off and changing other settings still work, and existing configuration stays in effect. Beyond the site limit, the console reports that the licensed site limit has been reached. New nodes are subject to the node limit; nodes that have already joined are not affected.

After Delete licence (删除授权), the console falls back to Free edition limits. Detection is not affected.

Fingerprint changes

  • Restoring from backup or rolling back from the cold standby on the same host keeps the fingerprint.
  • Moving to another host, or reinstalling with the data volumes cleared, changes the fingerprint, and a new licence must be requested.
  • Virtual machines cloned from a template share one machine-id. After cloning, run sudo rm /etc/machine-id && sudo systemd-machine-id-setup before installing.

On this page