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
| Section | Contents |
|---|---|
| Current licence | Type (offline or online), expiry, days remaining, licence number, issue date, customer, import date |
| Usage | Sites and remote nodes against the licensed limits |
| Features | Whether each paid feature is licensed |
| This host | Host 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.
- Select Create activation request (生成激活请求), enter the customer name from your contract (letters, digits and
._@-, up to 64 characters) and select Download. You get a.fpreqfile containing this host's fingerprint. - Send the
.fpreqfile to Reallysec. - When you receive the licence, select Import licence (导入授权) and upload the
.licfile (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
| State | Description |
|---|---|
| Valid | The licence is valid |
| Expiring | From 30 days before expiry (7 days for trials), the page warns and an alert is raised |
| Grace period | For 30 days after expiry everything keeps working, with notices and alerts |
| Restricted | The 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-setupbefore installing.
System settings
The General, Online updates, Branding and Configuration import and export pages in Settings.
Accounts and permissions
Console account management, roles and permissions, password policy and sign-in lockout, session timeouts, the console IP allow list, one-time codes, third-party sign-in and the audit log.