πŸ”‘

License

General Auditor

Detects a Liferay DXP site serving its license activation page

ResilienceMonitoring
30 credits
Per check
~30 seconds
Average runtime
Active
Status

Runs on your verified domains

License probes a site for weaknesses, so it only runs on domains your organization has proven it owns, by email, a DNS record or a file on the site. That keeps it from being pointed at someone else's site.

How it works

  1. Check the thresholds β€” failDays must be below warningDays; otherwise the audit is FAIL (403) and nothing is fetched.

  2. Select the platform β€” the first stack entry whose vendor is Liferay (any case) and whose product is not Liferay Portal is audited (Liferay Portal, the community edition, has no license). No stack, or no supported platform in it, is INFORMATION (100): nothing is fetched and the run is not charged.

  3. Fetch the probe URL β€” /c/portal/license_activation on the origin of the monitored URL, without following redirects, with 37AuditsBot's user agent, its Web Bot Auth signature and the URL's Basic Auth credentials. HTTP 403, HTTP 429 or a Cloudflare challenge is ERROR (590). A network error, a timeout or any status other than 200 or a redirect is ERROR (500).

  4. Read the answer

    • A redirect (Liferay sends 302 to /c/portal/layout) means the license is valid: SUCCESS (200).

    • 200 with the Liferay DXP Activation sheet (<h1 class="sheet-title">Liferay DXP Activation</h1>, rendered by license_activation.jsp) means the license is expired or the instance is not registered: FAIL (400). The alert on the page, such as This instance is not registered., is quoted in the message.

    • 200 with any other page is SUCCESS (200): the activation page is not served.

  5. Grade the expiration date β€” the expirationDate preference, when set, is compared with the day the audit runs: already passed is FAIL (401), within failDays is FAIL (402), within warningDays is WARNING (300), beyond it is SUCCESS (201). No date set is WARNING (301), because the audit cannot warn ahead without it.

  6. Aggregate β€” every rule keeps its check; FAIL wins over WARNING, and the audit is SUCCESS only when the license is active and the date is beyond the warning window.

Preferences

KeyTypeDefaultDescription
expirationDatedate (yyyy-MM-dd)noneThe end date of the activation key, as shown in the platform's License Manager (Liferay DXP: /c/portal/license), set per monitored URL on the Configuration tab. The platform does not publish it, so the audit warns (301) until it is set. Update it after each renewal: a forgotten date turns into a FAIL (401) once it passes.
failDaysinteger30The audit fails when the key expires in this many days or fewer (402).
warningDaysinteger90The audit warns when the key expires in this many days or fewer, beyond the fail window (300). Must be higher than failDays; otherwise the audit fails with 403 before any fetch.

A value that is not a yyyy-MM-dd date is ignored and logged, so the audit behaves as if no date were set.

What this auditor validates

Every row maps to one checkRule* method and one CheckCode. CheckCode suffixes use status ranges: 100 information, 200 success, 300–399 warning, 400–499 fail, 500–599 error.

CheckCodeStatusWhen it firesRecommendationWhy it matters
37A-LicenseAuditor-100INFORMATIONThe project has no software stack, or the stack names no supported platform; nothing is audited and the run is not charged (the check carries notApplicable: true).Empty stack: add {supported} to the project's software stack to check its license. Other platforms: if the site runs {supported}, add it to the project's software stack to check its license.β€”
37A-LicenseAuditor-403FAILfailDays is not below warningDays; nothing is fetched.On the auditor's Configuration tab, set failDays below warningDays, or raise warningDays above failDays.Until the warning threshold is above the fail threshold this audit cannot tell a warning from a failure, so it does not judge the license.
37A-LicenseAuditor-400FAILThe probe URL answers HTTP 200 with the platform's license activation page.Deploy a valid {platform} activation key for {host} through the License Manager ({licenseManagerUrl}) or contact Liferay Support; until then "{probeUrl}" shows the activation page instead of redirecting to the site.With an expired or missing license the platform stops serving the site and shows its activation page instead, so visitors see an error instead of your content until the key is renewed.
37A-LicenseAuditor-401FAILThe expirationDate preference is today or in the past.Deploy a renewed {platform} activation key through the License Manager ({licenseManagerUrl}) if you have not already, then update the Expiration date preference with the end date of the new key.A tracked expiration date in the past means either the renewal was never recorded, so nobody is warned before the next one, or the key really expired and the activation page is about to replace the site.
37A-LicenseAuditor-402FAILThe expirationDate preference is in 1 to failDays days (default 30).Deploy the renewed {platform} activation key through the License Manager ({licenseManagerUrl}) before {expirationDate}; only {daysUntilExpiration} day(s) remain. Update the Expiration date preference once the new key is deployed.With so little time left, a renewed key still with procurement or not yet deployed turns into a full outage the day the current one ends: the activation page replaces every page of the site.
37A-LicenseAuditor-300WARNINGThe expirationDate preference is in more than failDays and at most warningDays days (default 31 to 90).Request the renewed {platform} activation key from the vendor and schedule its deployment through the License Manager ({licenseManagerUrl}) before {expirationDate}. Update the Expiration date preference once the new key is deployed.Getting a renewed activation key from the vendor and deploying it takes procurement and a maintenance window; starting inside the warning window leaves time for both before the activation page replaces the site.
37A-LicenseAuditor-301WARNINGThe expirationDate preference is not set (or is not a yyyy-MM-dd date).Look up the end date of the activation key in the License Manager ({licenseManagerUrl}) and set it in the Expiration date preference on the auditor's Configuration tab.The platform does not publish when its key ends, so without the date the first sign of an expired license is the outage itself: the activation page replaces every page, and a renewed key takes days to obtain, not minutes.
37A-LicenseAuditor-500ERRORThe probe URL could not be fetched: network error, timeout, or a status other than 200 or a redirect.Make sure "{probeUrl}" is reachable by the auditor so the license can be checked.β€”
37A-LicenseAuditor-200SUCCESSThe activation page is not served (whatever the expiration date says). Message is "{probeUrl}" answered HTTP {status} β†’ "{location}", so the {platform} license is active.β€”β€”
37A-LicenseAuditor-201SUCCESSThe expirationDate preference is set and more than warningDays days away. Message is The {platform} license of {host} expires on {expirationDate}, in {daysUntilExpiration} day(s), beyond the warning window of {warningDays} day(s), as set in the Expiration date preference.β€”β€”
37A-LicenseAuditor-590ERRORThe audited page answered HTTP 403, HTTP 429 or a Cloudflare challenge, so 37AuditsBot was blocked before it could read the page.Allow 37AuditsBot in your firewall or bot protection: allowlist its user agent, or verify its Web Bot Auth signature. See https://www.37audits.com/bot.While 37AuditsBot is blocked this audit cannot look at the site, so problems on it go unreported.

Example messages:

  • 400 β€” "https://www.example.com/c/portal/license_activation" answered HTTP 200 with the Liferay DXP activation page ("This instance is not registered."): the Liferay DXP license is expired or the instance is not registered.

  • 200 β€” "https://www.example.com/c/portal/license_activation" answered HTTP 302 β†’ "https://www.example.com/c/portal/layout", so the Liferay DXP license is active.

  • 300 β€” The Liferay DXP license of www.example.com expires on 2027-01-15, in 60 day(s); threshold is 90.

  • 301 β€” No expiration date is set for the Liferay DXP license of www.example.com, so this audit cannot warn before the key expires.

Findings carry the same values in data: platform, probeUrl, statusCode, location, pageTitle, activationPage, alert, expirationDate (null when not set), daysUntilExpiration (when set), failDays and warningDays. The 403 check carries only the two thresholds.

Output Documentation

StatusDescriptionTest logic
INFORMATIONThe auditor does not apply to the stackNo stack, or no supported platform in it (100); the run is not charged.
SUCCESSThe license is active and its expiration date is far enough awayThe probe URL redirects, or answers 200 with a page other than the activation page (200), and the expirationDate preference is more than warningDays days away (201).
WARNINGThe renewal is due, or no expiration date is trackedMore than failDays and at most warningDays days left, 31–90 by default (300); no expirationDate preference set (301).
FAILThe license is expired or the instance is not registered, or the key is about to expireThe probe URL answers 200 with the activation page (400); the expirationDate preference has passed (401); 1 to failDays days left, 1–30 by default (402); failDays not below warningDays (403).
ERRORThe auditor could not check the licenseThe probe URL could not be fetched (500) or 37AuditsBot was blocked (590).

Risks and Considerations

An expired license takes the whole site down

  • Liferay DXP redirects every page to the activation page once its license expires. Visitors, search engines and integrations all get that page instead of your content, so the impact is a full outage, not a degraded feature.

Check before it happens

  • Liferay license keys have a fixed end date that the platform does not expose over HTTP. Record it in the expirationDate preference so the audit warns 90 days ahead and fails 30 days ahead (by default): obtaining a renewed key from the vendor and deploying it takes procurement and a maintenance window.

  • Run this auditor on a schedule so the first run after the key expires raises the alarm even when no date is tracked.

  • The activation page answers HTTP 200, so uptime monitors that only check the status code report the site as up.

  • Dates are compared with the day the audit runs, in UTC. A key that expires later today is reported as passed (401).

  • Update the preference after each renewal: the audit keeps grading the old date, so a forgotten preference turns into a FAIL once that date passes even though the site is up.

The software stack is declared, not detected

  • Only projects whose stack lists Liferay DXP are audited. Add Liferay to the stack when the site runs on it.

  • Only the first Liferay entry of the stack is audited.

What this auditor does not check

  • It does not read the license's end date from the platform; the warning ahead of the expiry relies on the expirationDate preference being set and kept up to date.

  • It does not check the cluster-node or developer-connection limits beyond what the activation page reports.

This documentation is built and hosted on Mintlify, a developer documentation platform.

Source: docs.37audits.com

Ready to start auditing?

Add this auditor to your monitoring setup and start identifying issues on your websites today.

Β© 2026 37 Audits. All rights reserved. Audit your websites with confidence.

Supported by

Made with ❀️ in Floripa