Skip to content

Installation

ball42 edited this page Nov 20, 2026 · 2 revisions

Server Requirements

General Server Requirements:

  • Ubuntu 24.04+ or RHEL / Rocky 9.4+
  • Minimum: 8GB RAM (16GB recommended)
    • On RHEL 9, do not go below 2GB even for a trial: dnf is memory-hungry enough that package installs get OOM-killed on a 1GB instance. Ubuntu completes on 1GB.
  • Minimum: 128GB Storage (512GB recommended)
  • Minimum: 2 CPU Core (4 Cores recommended)
  • Python 3.12+ (with pip)

The installer builds JAWA's virtual environment from the distribution's Python 3.12, so the OS version is what determines the Python version. Ubuntu 24.04+ ships python3 = 3.12. On RHEL/Rocky 9.4+ the default python3 is still 3.9, so the installer installs the supported python3.12 AppStream package and builds the venv with it — this needs no manual steps. Ubuntu 22.04 (Python 3.10) and RHEL/Rocky 9.0–9.3 are below the floor and not supported: JAWA's dependencies publish security fixes only for Python 3.10+, and Python 3.9 and 3.10 themselves no longer receive upstream security updates (EOL 2025-10-31 and 2026-10-01).

Upgrading the OS of an existing JAWA server. If your JAWA host is below Ubuntu 24.04, reaching a supported platform means an in-place distribution upgrade (do-release-upgrade). That upgrade can leave nginx no longer serving JAWA — the console becomes unreachable even though the jawa service is running. Re-run the JAWA installer after the distribution upgrade completes and choose the upgrade option; it rewrites and re-enables JAWA's nginx site, which restores the console. Take a snapshot of the server before starting, as with any distribution upgrade.

The installer checks the Python version before it touches an existing install and stops with the detected version if the host is below Python 3.12.

Sign-in and the Jamf Pro URL

The installer asks for your Jamf Pro URL and saves it in data/server.json. Until a URL is saved there, the console refuses every sign-in with "Finish install: set the Jamf Pro URL with the installer". For local development only, set JAWA_ALLOW_UNPINNED_LOGIN=1 to allow a sign-in before a URL is saved.

JAWA signs session cookies with the key in JAWA_SECRET_KEY when that variable is set. Otherwise it creates data/.secret_key (mode 0600) on first start and reuses it, so a restart does not sign admins out. The session keeps only the Jamf Pro bearer token, never the password.

Any Jamf Pro account that can sign in can use the console, and the console can upload and run scripts on the JAWA server. To limit that, list the permitted Jamf Pro usernames under "Allowed admin accounts" on the Setup page (or as allowed_admins in data/server.json). Names are compared case-insensitively. While the list is empty, which is the default so existing installs keep working, every account that Jamf Pro accepts can sign in, and the Setup page shows a warning.

Each failed console sign-in writes a LOGIN FAILED user=<name> ip=<address> line to data/jawa-auth.log, using the X-Real-IP header that the installer's nginx configuration sets. The installer adds a fail2ban filter and jail for that file (five failures in ten minutes ban the address for thirty minutes on port 443). On servers installed earlier, copy the same two files (/etc/fail2ban/filter.d/jawa.conf and /etc/fail2ban/jail.d/jawa.conf) by hand or rerun the installer.

Network Requirements:

  • Inbound port 443 from JPS for webhooks (IPs for Jamf Cloud)
  • Optional: Inbound port 443 from your LAN/IP (for web console access)
  • Outbound port 443 to JPS and auxiliary services ( Okta, WorkDay, etc.)
  • A public DNS entry for the JAWA FQDN

Health check

GET /healthz needs no sign-in and writes nothing to disk or the log, so any uptime monitor can poll it. It returns 200 with {"status": "ok"} when data/webhooks.json and data/cron.json parse and the scripts directory exists. Otherwise it returns 503 and names the failing check, for example {"status": "fail", "check": "webhooks.json"}.

Certificate Requirements:

  • Jamf Pro connects to JAWA over HTTPS to send webhooks. JAWA must present a valid certificate for Jamf Pro to trust the connection.
  • A Publicly Trusted SSL Certificate and corresponding private key (for nginx)
    • Note: A Publicly Trusted Full-chain Certificate is preferred for jawa.crt(i.e., root CA + intermediate + leaf cert bundle)

Jamf Pro Requirements:

  • Jamf Pro Server 10.35.0+

How to Use JAWA

Refer to the "JAWA Administrators Guide" in the current release for detailed installation and configuration instructions.

Installation Steps:

  1. Verify that you meet the server requirements.

  2. Rename the certificate to jawa.crt and the private key to jawa.key.

  3. Ensure you are in the same directory as your jawa.crt and jawa.key.

  4. Download and run the JAWA installer:

    curl -O https://raw.githubusercontent.com/jamf/JAWA/main/bin/installer.sh && sudo bash ./installer.sh

    The installer clones main from jamf/JAWA by default. To install from another repository or branch, add repo <git url> and branch <name> (for example repo https://github.com/<you>/JAWA.git branch develop).

  5. After the installation is complete, go to your FQDN (e.g., https://jawa.company.com) in your web browser to continue with the web-based setup.

JAWA listens on 127.0.0.1:8000 behind the nginx proxy. Set the JAWA_BIND environment variable (for example JAWA_BIND=0.0.0.0) only for setups without nginx.

nginx comes from your OS. The installer installs the distribution's own nginx package and writes JAWA's site config; JAWA does not bundle or pin nginx. Keep it patched with your normal OS security updates (Ubuntu and Red Hat backport fixes without changing the version number). JAWA works with any current nginx, including the nginx.org packages; it only needs nginx to proxy to 127.0.0.1:8000.

Configuration Steps:

  1. Log in to JAWA with your Jamf Pro URL and Jamf Pro Administrator Credentials.
  2. Click the “Setup link in the JAWA Dashboard or click Setup in the top navigation.
  3. Fill out the Server Setup form:
    • [required] JAWA Server Address FQDN (e.g., https://jawa.company.com) - this address must be resolvable by the Jamf Pro Server to send webhooks.
    • [recommended] Lock your JAWA to a primary Jamf Pro Server.
    • [optional] Add an alternate Jamf Pro Server.
  4. Click Setup.
  5. Set up your first webhook or timed automation.

When scripting for webhooks, verify JSON structure sent from source:

  1. Jamf Pro Webhook Event Info
  2. Okta Webhook Event Info

Clone this wiki locally