How an air-gapped n8n instance gets its license
A self-hosted n8n instance on a network with no internet access still needs a license for any feature that depends on an Enterprise License. The starting point is the Sustainable Use License, which governs the code. Files with .ee in their name or directory are not covered by it and require a valid n8n Enterprise License. For an isolated deployment, the licensing question is therefore which features your teams plan to use, not whether the platform starts. n8n's pricing page lists the Business plan as self-hosted only, so a team that stays off the cloud can still hold a paid plan. Confirm with n8n which plan covers each feature on your list before you design the environment around it.
This topic covers how that entitlement reaches a machine that cannot contact a licensing service. The setting to plan around is N8N_LICENSE_CERT, which carries the license certificate into the instance. Ask n8n whether the certificate replaces an activation key in offline environments, how it is delivered, whether it is bound to a host or an instance, and whether the instance can load it with no outbound connectivity. Online activation may still be possible from a connected staging host or a short window during setup. If it is, allowlisting the Cloudflare endpoints that activation uses is a firewall change that your security team must approve and log. Confirm the exact domains and ports with n8n before you open anything.
Renewal planning is the step most likely to fail quietly. An isolated instance has no automatic warning before a feature stops working, so the expiry date belongs in your change calendar with an owner and a lead time. Ask n8n how renewed certificates are issued and delivered, how long a lapsed certificate keeps Enterprise features running, and whether a new release line needs a new certificate. Move each renewal through the same review you use for software crossing your isolated boundary, including integrity checks. Test the renewed certificate on a non-production instance first, so a failed license check does not become an outage on the production workflow engine.
Online activation, certificate activation and when each fits
This table compares three ways to activate an n8n license: online from a host that can reach the licensing service, certificate-based on a fully isolated host, and a hybrid where a staging host activates online and certificates are carried across. Read each row as a question you need answered before choosing, and treat the risk column as the thing to plan around.
| Approach | Network and carry-over | Renewals and ownership | Main risk |
|---|---|---|---|
| Online activation | The n8n host must reach the licensing service over outbound HTTPS, so the firewall and proxy need an allowlist entry for the activation endpoint. Confirm the exact domains with n8n before the rule is written. | Activation and renewal run from the production host, so the platform team owns the schedule. Confirm with n8n how often the license must be revalidated. | An outbound rule that is later removed or blocked can stop activation checks, so the risk surfaces at the next check, not at install. |
| Certificate activation | Nothing leaves the isolated network. The license certificate is copied in through an approved transfer path and set with N8N_LICENSE_CERT. Confirm the certificate format and any expiry with n8n. | Renewal needs a new certificate issued by n8n and carried in again, so the security or compliance team usually owns the handoff. Ask n8n for the renewal lead time in writing. | A certificate that expires or is installed on the wrong instance leaves the team without a valid license until the next transfer completes. |
| Hybrid (staging activates, certificates carried) | A staging host with controlled internet access activates online, then the resulting certificate is moved across the boundary through the same review and malware scanning used for other software. | The staging host owner handles activation and the production owner handles installation. Assign both roles in the runbook so renewals do not depend on one person. | Certificates are issued to the staging context, so confirm with n8n which identity and instance the certificate covers before relying on it in production. |
| Audit evidence | Record every certificate transfer, its source, the reviewer and the instance it was installed on. Auditors will ask who approved each carried file. | Keep a renewal calendar that names the owner, the source host and the target instance for every certificate. | Without a transfer log, teams cannot show which license was active at a given date. |
| Inbound access for activation | No inbound connection is needed for any of the three approaches, so keep remote access closed while activation is in progress. | Confirm with the security team how temporary firewall changes are approved and removed. | Temporary rules left in place after activation widen the attack surface of the n8n host. |
| Fit for fully isolated sites | Certificate activation fits best where policy forbids any outbound path from the n8n network. | Plan for the transfer path to be used at each renewal, not only at first install. | Manual transfers slow fixes if the renewal window is missed. |
| Fit for connected production hosts | Online activation fits where the production host already has a controlled outbound path and the allowlist can be reviewed. | Renewals need no physical transfer, but the owner must still track the schedule. | A license check that fails silently can go unnoticed until a feature stops working. |
| Fit for mixed estates | The hybrid suits organizations with several sites, where one connected staging host serves isolated production instances. | Assign a named owner for the staging host, its outbound rules and each carry-over. | Multiple instances with one certificate or mismatched certificates create confusion, so confirm the licensing terms for each instance with n8n. |
Which license path fits your network constraints?
The decision starts with whether the production host can reach the internet. If it can, online activation works with a Cloudflare allowlist on outbound access. If it cannot, the license moves as a certificate through an approved transfer process, or a staging host with internet access activates the license and exports the certificate for production. Every path ends at the same check: confirm the instance reports the expected license state before users rely on it. The diagram keeps the three options apart so each hand-off stays visible.
Decision path from network constraints to a verified n8n license state.
Activating a license certificate on an isolated host
This sequence moves a license certificate into a fully isolated n8n deployment and ends with the license state confirmed in the admin interface. Each step closes with a check, so the team can show what was verified, by whom and on which version before the instance is treated as licensed.
Confirm the plan and edition that include the license
The account owner or platform lead asks n8n, in writing, which plan or edition issues a license certificate for a self-hosted instance without internet access. n8n's pricing page places SSO, environments and log streaming in the Business and Enterprise plans, and it restricts multi-main high availability to Enterprise self-hosted deployments. Code in files with .ee in the name requires a valid Enterprise License. Done when n8n's written answer matches the order form and the list of features the team plans to use.
Match the n8n version to the license
The platform lead runs the n8n version command on the image or package that will enter the isolated network, then compares the result with the version named in the license terms or issuance record. n8n ships minor releases frequently, so a certificate issued for one release line may not match a later image. Confirm with n8n whether the certificate is tied to a specific version or range. Done when both version strings match and the record is attached to the change ticket.
Obtain the certificate through the agreed channel
The license owner obtains the certificate through the delivery channel agreed with n8n, on a connected administrative workstation, and logs who requested it, when it arrived and the file name. The certificate should never be pasted into chat, email or a ticket, because it will sit in the deployment configuration as a sensitive value. Done when the file is stored in a restricted transfer location and the receipt is recorded in the license register.
Verify the certificate before it crosses the boundary
A security reviewer checks that the file came from the agreed source and is intact before it enters the isolated network. If the sender supplies a checksum, the reviewer computes the same hash on the file and compares the two values. The reviewer also confirms the file is not empty and names the expected organization, then confirms with n8n how the certificate can be validated, since the vendor's method governs. Done when the hash, reviewer name and result are written in the transfer log.
Set N8N_LICENSE_CERT in the deployment configuration
The platform engineer adds the N8N_LICENSE_CERT variable to the main instance configuration, using the method the deployment already uses for secrets, such as a container environment file, an orchestrator secret or a service manager override. The value stays out of the image and out of version control, and the certificate file is kept in the same restricted location as other sensitive settings. Done when a second person has reviewed the change and the variable is present in the running configuration without its value appearing in logs.
Restart the main instance and review startup logs
The platform engineer restarts the main instance so the new variable is read at startup, and makes no other configuration changes in the same window. Because the main instance handles triggers and webhooks, the restart is scheduled when those can pause. The engineer reviews the startup logs for license warnings, messages about an invalid or expired certificate and configuration errors, and confirms with n8n which wording indicates success for the installed version. Done when the instance is running, the logs show no license error and the restart is recorded.
Confirm the license state in the admin interface
An owner-level user signs in to the admin interface and opens the license or settings area to view the active edition, the licensed features and any expiry information shown. The user compares the displayed edition with the one confirmed in the first step and checks that Business or Enterprise features such as SSO and environments appear only where the license covers them. Done when the displayed edition matches the written confirmation and a dated record of the check is stored with the version information.
Check workers and webhook processors for matching keys
In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can read credentials stored in the database. The platform engineer confirms that each worker and webhook processor uses the same encryption key value and the same n8n version as the main instance, and asks n8n whether those processes also need the license certificate. Done when each process starts cleanly, a test credential in a non-production workflow runs on a worker, and the comparison is recorded.
Where offline license activation fails in practice
Most offline license problems do not appear during installation. They surface later, after a restart, a version change or a copy between networks. The cards below name the symptom to watch for and the check that catches each failure before the instance reaches production.
Certificate issued for another plan
A license certificate is tied to the plan and edition it was issued for. If the certificate covers a different tier than the one you deployed, features such as SSO, environments or log streaming may be missing or unavailable, even though the instance starts normally. Before go-live, compare the entitlements shown in the instance's license settings with the entitlements in your written order. Ask the vendor to confirm in writing which features the certificate enables, and test each one you rely on in a staging instance built the same way as production.
n8n pricingExpired or superseded certificate
A certificate can expire, or be replaced by a newer one issued to the same organization. An instance that loaded the old certificate may keep running until its next restart, then fail to start its licensed features. Record the validity dates and the certificate's identifier when you install it, and set a calendar reminder well ahead of the expiry date. Confirm the renewal process with your vendor before you need it, including how a replacement certificate reaches a network with no internet access.
Settings applied to main only
In queue mode, the main instance handles triggers and webhooks while workers run executions against the same database. Licensing and encryption settings must be consistent across these processes. If the certificate variable or the encryption key is set on the main instance but missing on workers or webhook processors, workers may fail to read credentials or run licensed features. Check every process after a change by restarting each one, then running a test workflow that uses a credential and a licensed feature on a worker.
Queue mode docsCertificate corrupted in transfer
Offline activation usually means copying a certificate file across a transfer boundary, through a media device, a file gateway or a copy and paste into a secrets store. Line endings, truncated content or added whitespace can make the certificate unreadable without an obvious error. Compare a checksum of the file on both sides of the boundary before installing it, and confirm that the value loaded into the environment variable matches the original file. Keep the original file under version control or in your records so you can repeat the transfer.
Version drift across releases
n8n ships minor releases roughly weekly, and an air-gapped instance receives updates only when someone carries them across the boundary. A long gap can leave the running version behind the release the certificate and your change records expect, and a catch-up upgrade may bring breaking changes all at once. Keep a dated record of the running version on every process, plan a repeatable update path with a staging test, and verify the license status after each upgrade rather than assuming it carried over.
- Minor release cadence
- Weekly
Activation paths by network situation
With no outbound route, activation cannot reach an online service, so the license must arrive as a file that the team verifies and loads locally. The transfer path has to be designed before installation, because every later renewal will use the same route.
- Network change. Confirm that the n8n host needs no outbound access at install or run time, and set up an approved media transfer path for the license certificate and for any container images or packages carried across the boundary.
- Documentation for security. Record how the certificate entered the boundary, who approved the transfer, which integrity checks were run (such as hash or signature comparison) and where the file is stored and who can read it.
- Integrity expectations. If your regime resembles NERC CIP-013-2, which expects procurement processes to verify software integrity and authenticity, document verification for the certificate and every artifact carried across.
- What to test. Start n8n with
N8N_LICENSE_CERTset, confirm that licensed features appear in the admin UI, restart the instance and recreate the container to confirm the license persists. - What to confirm with n8n. Whether a certificate is bound to a host, instance or environment, whether any check runs periodically and what happens if it fails, and how an offline renewal is issued.
Before expiry, check that a fresh certificate can cross the boundary through the approved route and that the process has been rehearsed in staging.
In a restricted network, outbound access is blocked by default, but a narrow exception to Cloudflare may be approved for activation only. The exception should be scoped to one host, one time window and one purpose, then removed once activation succeeds.
- Network change. Request the exact hostnames and ports for activation from n8n, then create a proxy or firewall rule that permits them only from the n8n host. Keep the rule disabled outside the activation window.
- Documentation for security. Keep a change record with the business justification, the rule owner, the start and end times, the rule as implemented and the firewall or proxy logs showing the allowed connections.
- What to test. Confirm that the rule blocks other destinations, that activation completes through the rule, that the log shows only the expected traffic and that n8n keeps running after the rule is removed.
- What to confirm with n8n. Whether activation is a one-time event or recurs, whether the instance needs connectivity after activation, how it behaves when a check cannot reach the service, and whether domain-based allowlisting works with your proxy, since Cloudflare addresses can change.
- Proxy behavior. Test whether TLS inspection or a corporate proxy breaks the activation handshake, and agree in advance how that case will be handled.
After each change to proxy or firewall policy, confirm that the activation path still works and that the temporary rule has been removed.
When the network can reach the activation service, the main risk is configuration drift between environments. Activate in staging first, validate the features and workflows there, then activate production with the same steps and records.
- Network change. Allow outbound activation traffic from staging, and keep production on its normal egress policy unless n8n confirms that production also needs the exception.
- Documentation for security. Record which license is assigned to each environment, the activation dates, the owner of renewal and any difference between staging and production configuration.
- What to test. Activate staging, check that the plan features appear, promote workflows and settings, then activate production and repeat the same checks. Test restarts and version upgrades in staging before they reach production.
- What to confirm with n8n. Whether a license can cover both staging and production under your plan and the terms of the n8n LICENSE.md, whether non-production instances need their own entitlement and how the production license is issued.
- Renewal timing. Confirm how renewal notices are sent, who receives them and how long a new certificate takes to apply, so renewal is not planned on the last day.
Before production activation, confirm the entitlement for non-production instances in writing so that staging does not become a compliance gap.
Planning license renewals before the certificate expires
Renewal is the step most often missed in isolated environments, because the team that handled the original activation is rarely the team that handles the next one. A renewed license certificate must be obtained, verified and transferred through the same controlled path as the original, including the same checksum review, the same approval record and the same media handling. Start the renewal calendar from the certificate's expiry date, not from the date someone remembers it, and confirm with n8n in advance how long before expiry a renewed certificate is issued, what the notice period is, and whether the renewal is tied to a specific version or edition. The notice period is not stated here, so get it in writing.
The upgrade cadence adds a second decision. n8n uses semantic versioning and ships minor releases roughly weekly, so a team that renews in isolation will keep falling behind unless it chooses a target version deliberately. Decide which version the renewed certificate will be validated against, and plan the upgrade window for that version before the certificate is needed. Confirm with n8n whether a certificate issued for one release line works on later minor releases in the same line, and record the answer in the change file. Before the renewal date, rehearse the full path in a staging environment that mirrors the isolated production setup: import the certificate through N8N_LICENSE_CERT, restart, confirm the licensed features are active, and run a representative set of workflows that use the paid features your team depends on.
Plan the rollback before you need it. Keep the expiring certificate and the previous container image or package in the offline media store until the renewed certificate has been confirmed in production, and document the exact steps to restore the previous configuration. Ask the vendor in advance for a contact path that works without internet access, the expected lead time for a replacement certificate if the renewed one fails validation, and the process for reissuing a certificate after an environment change. Test that rollback in staging so the team knows the restart order and what the paid features look like when a certificate is rejected. Confirm these details with n8n and your own change management policy rather than assuming them.
Protecting license certificates, keys and the encryption key
A license certificate in an air-gapped n8n deployment is only as trustworthy as the way it is stored, moved and recorded. The cards below cover access to the environment and manifests, the handling of the certificate itself, consistency of the encryption key across processes, change logging, transfer checks and retention of the license record.
Restrict who can read deployment manifests
The certificate usually reaches n8n through the N8N_LICENSE_CERT environment variable, which means it appears in Compose files, Kubernetes manifests, Helm values and CI variables. Limit read access to those locations to the people who operate the instance, and check whether your deployment tooling prints environment variables in build or pipeline logs. Confirm that your secrets store, not a plain file in a shared repository, is the place where the value lives.
Treat the certificate as sensitive configuration
Handle the certificate with the same care as a database password. Keep it out of tickets, chat threads and screenshots, and do not paste it into support requests. Store it encrypted at rest in your secrets system and restrict the service account that reads it. Confirm with n8n which artifacts and fields a support engineer needs, so you can share those without sharing the certificate itself.
Keep the encryption key consistent
In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can read credentials stored in the database. A worker started with a different or missing key fails to decrypt credentials, and the failure may appear only when a particular workflow runs. Use one managed secret for the key across all process types, and check each new worker or webhook pod before it receives traffic.
n8n queue mode docs**Log every change** to the license setting
Record who changed the license value, when, in which environment and through which pipeline run. Enable audit logging in your platform and forward the events to a store your security team controls. Review the trail after each upgrade or renewal, because a silent swap of the certificate in a deployment file is the kind of change that otherwise goes unnoticed until a feature stops working.
Verify transfers with integrity checks
Certificates move across the isolated boundary on removable media or through a controlled transfer path. Compute a checksum on the source side, record it in the change record, and verify it on the receiving side before the value is applied. Apply the same discipline to the n8n image and any packages carried in with it, which fits the software integrity and authenticity expectations in NERC CIP-013-2 when that standard applies to your environment.
Retain the license record with deployment documentation
The Sustainable Use License governs n8n's source code, and the Enterprise license governs files with .ee in their name or directory. Keep the license certificate, the order or agreement reference, the licensed edition and the renewal date together with the deployment documentation, so auditors and successors can tie each running instance to its entitlement. Ask n8n which terms apply to your specific agreement before you rely on them.
Questions teams ask before activating n8n offline
Can an air-gapped n8n instance be licensed at all?
Yes, an instance without internet access can be licensed, but the method differs from online activation. Offline activation uses a license certificate loaded into the instance, typically through the N8N_LICENSE_CERT setting, so the server does not need to reach n8n during normal operation. Which method applies depends on your agreement with n8n, so confirm it in writing before you plan the build. The licensing rules also matter: the free Community edition needs no key, but files with .ee in their name or directory fall under the Enterprise License, and the Business plan is listed on n8n's pricing page as self-hosted only. Ask n8n which edition and certificate type covers each instance you plan to run offline.
What does offline license activation cost, and who pays?
There are two separate costs: the n8n license and the work to install and activate it. The license is priced by n8n. Its pricing page lists a free Community edition, a Business plan at 667 euros per month billed annually that is currently self-hosted only, and Enterprise at custom pricing. Those are recurring subscription costs, and the Enterprise tier is the one that carries the .ee code and the features like multi-main setup. The work is paid for by whoever runs the project, either your team's time or a DeployOpen fixed-scope engagement quoted from written scope. Ask for the one-time items (planning, staging, certificate loading, verification) and the recurring items (renewals, upgrades, support) listed separately. Ask what is excluded, such as hardware or transfer tooling.
How long does an offline n8n license setup take?
No duration can be stated from general information, so get timing in writing from the scope before work starts. The main drivers are whether online activation is possible at all, how many n8n processes need the certificate, and how long your change approvals take. A single main instance is simpler than a queue mode setup with main, worker and webhook processor nodes, which must all share the same encryption key to read stored credentials. Staging, file transfer across the air gap, and verification after each step add time. Ask the provider to break the timeline into planning, staging, activation, verification and handover, and to state which steps depend on your team's responses or on n8n's responses.
What must our team provide before offline activation starts?
Your team supplies the environment facts and the approvals, because the work depends on them. The useful inputs are:
- Network documentation showing which segments reach the n8n hosts and which outbound paths are blocked
- The n8n edition and plan you intend to run, and which instances need a license
- A staging environment that matches production closely enough to test the certificate load and restarts
- Named owners for the database, reverse proxy, secrets and change approvals
- An approved method for moving files across the boundary, with a record of what was transferred
Ask the provider to confirm which of these they need before scoping, and to list what they will produce, such as configuration, runbooks and verification records.
Can our own administrators activate n8n offline without a specialist?
Possibly, if the team has Linux, container and database skills and a staging environment, but the difficulty lies in the surrounding controls more than the setting itself. The activation step is a configuration change, while the hard parts are moving the certificate across the boundary, checking that the software and files you bring in are the ones you intended, documenting each step, and testing restarts for every n8n process. In sectors with supply chain rules, such as the integrity verification expected under NERC CIP-013-2 for utilities, that evidence matters as much as the install. Decide honestly whether your team has time to do this without disrupting other work. If not, ask for a fixed-scope plan that names who performs each step.
Do we need to allowlist Cloudflare to activate n8n?
You need outbound access to the activation endpoint only if you use online activation, and you should confirm the exact domains with n8n before opening anything. Where online activation is possible, a narrow allowlist for the activation traffic can be used once, after which the instance can run offline on the certificate. Do not assume the allowlist stays open afterward. Record the rule, the date it was opened, the approver, and the date it was closed, and ask your security team to review it against the boundary policy. If online activation is not allowed at all, plan for the certificate route from the start and do not design the project around a temporary exception.
How does renewal differ from first activation?
First activation establishes the instance on a certificate for the first time, while renewal replaces that certificate before its term ends and must be planned as recurring operational work. In an offline environment, renewal depends on receiving a new certificate from n8n and moving it across the boundary, so the lead time is longer than an online renewal. Ask n8n for the certificate term, what happens at expiry, whether a grace period exists, and how the replacement is loaded and verified. Add the renewal to your change calendar with an owner, a staging test and a rollback plan, and ask the provider to include renewal in the quote as a separate recurring item.
What to confirm with n8n and in your environment
The supplied facts do not settle how certificate licensing works for air-gapped n8n. The cards below list the questions to put to n8n and to your own network team before you plan activation, renewal and version changes. Get the answers in writing, since they determine the offline procedure and the renewal calendar.
Which plan issues offline certificates
Ask n8n sales or support which edition and contract tier issue license certificates for offline use, and whether that tier is the one that covers your deployment model. The pricing page separates Community, Business and Enterprise, so do not assume a lower tier includes certificate activation. Ask for the answer in the order form or quote, not only in a chat reply.
n8n pricingExact certificate variable and format
Confirm the exact name and value format of the environment variable that loads the certificate, which the supplied material refers to as N8N_LICENSE_CERT. Ask whether the value is the raw certificate text, a file path or a base64 string, and how multi-line content must be quoted in your Docker, Kubernetes or systemd configuration. Test the load on a non-production instance before the production change window.
Cloudflare allowlisting and endpoints
Ask n8n whether online activation calls Cloudflare, which hostnames and ports those calls use, and whether a one-time activation from a connected staging host is enough. Your firewall team should decide whether to open those endpoints temporarily or use a proxy with logging. Record the change ticket and close the rule once activation is confirmed.
Certificate behavior across versions
Ask whether a certificate issued for one major version remains valid after a minor release, a major upgrade, or a move to a new host. Confirm whether an upgrade requires reissuing the certificate and how long that takes. Plan this question alongside your n8n release notes review, since n8n ships minor releases frequently.
- Minor release cadence
- Weekly
Renewal and notice process
Ask how much notice n8n gives before a certificate expires, which contact receives it, and whether the expiry date appears in the certificate itself or in your account. Agree on who owns the renewal calendar inside your organization and how a new certificate reaches an isolated network through your approved transfer process. Include the dates in your change calendar.
Multi-main and queue mode licensing
Ask whether queue mode workers and webhook processors need their own license entries or share the main instance certificate. Confirm separately whether multi-main high availability is available on your planned edition, since the supplied material limits it to Enterprise self-hosted deployments. Get the licensing scope for each node role written into the quote before you size the isolated environment.
n8n queue mode docsHow DeployOpen scopes and delivers offline n8n licensing
DeployOpen treats offline n8n licensing as part of the wider air-gapped deployment, not a single setting. We confirm the license model and the activation path your network allows, then build, document and hand over the steps your team needs to renew the license without internet access.
How we scope
- We confirm which n8n edition and license type your organization needs before any installation work begins.
- We record whether your network can reach the activation service online, or whether certificate-based activation is the only route.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We configure the license certificate delivery path and set N8N_LICENSE_CERT in your deployment, then verify the activated features.
- Where online activation is possible, we document the outbound Cloudflare allowlist entries and test them from the n8n host.
- We check that restricted nodes and paid features behave as the license states, and record the results for review.
How we hand over
- You receive a runbook covering the activation steps, certificate storage, and who holds each renewal task.
- We provide a renewal calendar showing the license dates, the approval path and the steps needed to replace the certificate.
- We walk your platform and compliance teams through the evidence so they can review the setup independently.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, including renewal support for each license term.
- We retest licensing and access settings after each n8n upgrade, since upgrades can change how features are checked.
- We confirm with you which renewal and support terms apply to your license before agreeing the retainer scope.

