Skip to main content

04. Network, ports, proxies and certificates

What this covers / audience​

Every network connection the product makes or accepts, how runners reach One CommandCenter, how proxies are handled on both sides, how to turn on HTTPS with a company certificate or a test certificate, how runners trust it, and firewall rules. For network, firewall, PKI and security teams.

Contents​

  1. Ports and directions
  2. The runner connection: outbound only, long poll
  3. Runner proxies: Windows proxy, PAC and WPAD, fixed proxy, proxy sign-in
  4. One CommandCenter's outgoing proxy
  5. HTTPS on One CommandCenter
  6. Company certificates
  7. Self-signed certificates for tests
  8. Certificate trust on runners
  9. Load balancers and reverse proxies
  10. Firewall rules
  11. Local-only listeners

1. Ports and directions​

FromToPort / protocolPurposeConfigurable
Browsers, API clients, AI assistants (MCP)One CommandCenterTCP 8720, HTTP or HTTPSConsole, REST API, /api/mcp, webhooks (/api/hooks/...), Agent APIs--port, -Port, PORT, OOA_PORT
RunnersOne CommandCenterTCP 8720 (or 443 through a load balancer), HTTPS recommendedRegistration, heartbeats, work (long poll), events, results, credentials, update filesThe runner's URL
Load balancerOne CommandCenter nodesTCP 8720Traffic and health probes (/api/health, /api/health/ready)-
One CommandCenterSQL ServerTCP 1433 (or the instance's port)Databaseooa db configure --port, --instance
One CommandCenterPostgreSQLTCP 5432Database--port
One CommandCenterMail serverTCP 587 by default (STARTTLS), or SSL/TLS, or noneLicence reminders, workflow notificationsmail_smtp_host, mail_smtp_port, mail_smtp_security
One CommandCenterSIEMUDP or TCP, the port you set (often 514)Audit records as syslog RFC 5424syslog_target, syslog_protocol
One CommandCenterIdentity providerHTTPS 443OpenID Connect discovery, tokens and keys; SAML metadata is served by One CommandCentersso_issuer
One CommandCenterExternal vaults, Git remote, AI model providers, IMAP, Microsoft Graph, ServiceNow, polled URLs, callback URLs, promotion targetsTheir own ports, usually HTTPS 443 (IMAP 993)Features configured by administratorsEach feature's settings; outgoing proxy
One CommandCenterKey store at startHTTPS 443 and metadata endpointsVault key from Azure Key Vault (login.microsoftonline.com, *.vault.azure.net, 169.254.169.254), AWS Secrets Manager (secretsmanager.REGION.amazonaws.com, 169.254.169.254, 169.254.170.2), Google (metadata.google.internal, secretmanager.googleapis.com)OOA_MASTER_KEY_SOURCE
One CommandCenterTemplate catalogueHTTPS 443None by default while no catalogue is published (the setting is empty, meaning off); set it to a catalogue address to use onetemplate_catalog_url (or off)
Runner (agents)Applications they automateAnyWhatever the agents doAgent design
Studio, local runnerOne CommandCenter on the same computerLoopbackSee section 11-

No connection is ever made from One CommandCenter to a runner.

2. The runner connection: outbound only, long poll​

  • A runner registers once with a one-time key (ooa agent register --url ... --key ooareg_...) and receives a device id and a secret, saved in %USERPROFILE%\.ooa-agent\agent.json (One CommandCenter keeps only a hash).
  • Every request carries the headers X-OOA-Device and X-OOA-Device-Secret and goes to /api/agent/....
  • Heartbeat every 10 seconds: version, build, screen state, running run, toolkits. The answer carries stop, pause and resume requests, local triggers, the log level, the after-run action, secret rotation and update offers. A runner is shown online while its last heartbeat is under 60 seconds old.
  • Work: an idle runner posts jobs/next?wait=25. One CommandCenter holds the request for up to 25 seconds and answers the moment a run is queued for it, so runs start without polling delay. Proxies and load balancers must allow idle requests of at least 30 seconds (60 recommended).
  • Requests time out after 60 seconds; update file downloads after 5 minutes. A result that cannot be delivered is retried 6 times over about a minute.
  • If a runner stops reporting for 2 minutes while running an agent, One CommandCenter fails that run with AGENT.LOST.
  • Runners can sit in any network that can reach One CommandCenter's address; no inbound port is opened on runners.

3. Runner proxies​

Set at registration or later with ooa agent network (restart the runner afterwards):

ooa agent register --url https://ooa.example.com --key ooareg_... --proxy system
ooa agent network --proxy http://proxy.corp:8080
ooa agent network --proxy-user CORP\rpa-proxy --proxy-password-env PROXY_PW
ooa agent network --proxy none
ooa agent network (shows the current settings)
SettingMeaning
--proxy system (default)The Windows proxy settings of the account the runner runs as, including automatic configuration scripts (PAC) and WPAD discovery through WinHTTP
--proxy noneConnect directly
--proxy http://host:portA fixed proxy (an https:// proxy address is accepted too)
--proxy windows or --proxy windows:http://host:port (added 14 Nov 2026)Every request goes through Windows' own web stack (WinHTTP), which signs in to a proxy that accepts only Windows sign-in (NTLM or Kerberos/Negotiate) as the account the runner runs as, as Edge and Windows Update do; no password is stored. windows uses that account's proxy settings (PAC, WPAD); windows: names a proxy. Certificates are Windows' own: a self-signed One CommandCenter certificate must be in the Windows certificate store (--ca is not used). Windows runners only
--proxy-user NAME with --proxy-password-env VARBasic sign-in at the proxy. The password is read from the variable. On Windows it is stored encrypted with DPAPI (machine scope, so a runner service and the installer can both read it); on Linux and macOS in the file proxy-password next to the runner's config, readable by its owner only (file:PATH in the config). Basic sign-in for HTTPS tunnelling is enabled by the runner.
--ca FILEA certificate to trust (section 8)

Notes:

  • One CommandCenter on localhost, 127.* or [::1] is always reached directly.
  • For proxies that accept only Windows integrated sign-in (NTLM, Kerberos), use --proxy windows. A runner service signs in as its service account (Local System signs in as the computer account), so give that account access at the proxy, or run the service as a domain account.
  • A runner service runs as Local System (or the --account given), whose Windows proxy settings can differ from the user's. Use a fixed proxy for services.
  • Setup package: -Proxy system|none|windows|URL; MSI: PROXY=.
  • ooa agent diagnose shows which proxy is used for One CommandCenter's address.

4. One CommandCenter's outgoing proxy​

Administration > Settings > Outgoing connections:

SettingFormatEffect
outbound_proxyhttp://host:portOne CommandCenter's own outgoing HTTP and HTTPS connections (single sign-on, Git sync, AI model connections, external vaults, polled triggers, callbacks) go through this proxy
outbound_proxy_bypassHost names, wildcards allowed, for example *.example.com, 10.*Reached directly. localhost, 127.* and [::1] are always direct.
  • Every node checks the setting every minute, so a change reaches all nodes within a minute.
  • The proxy cannot ask for a user name and password.
  • Clearing the setting undoes only what it set: Java proxy properties given at start in JAVA_OPTS stay.
  • The vault key is fetched from a key store at start, before settings are read; if that path needs a proxy, give the standard Java proxy properties in JAVA_OPTS.
  • In a SaaS region the setting does nothing; the region's own network decides.

5. HTTPS on One CommandCenter​

One CommandCenter serves HTTPS itself on its port once it has a certificate. Only TLS 1.2 and 1.3 are offered. Stop the server, run the ooa tls commands from bin, then start it again.

CommandEffect
ooa tls configure --pfx FILEUse a PKCS#12 file (.pfx/.p12) with the private key and chain
ooa tls set-password [--from-env VAR]Store the file's password, encrypted with the vault key (asked for when no variable is given)
ooa tls self-signed [--host NAME] [--days N]Make a test certificate (default validity 825 days)
ooa tls showSubject, issuer, names and validity of the certificate in use
ooa tls export-cert --out FILEThe certificate without its key (PEM), for runners and browsers
ooa tls offBack to plain HTTP: ooa-tls.properties is renamed to ooa-tls.properties.off

Every command takes --data DIR. Settings live in DATA\config\ooa-tls.properties.

With HTTPS on:

  • The port answers HTTPS only; plain HTTP on it no longer works.
  • The session cookie is Secure; responses carry Strict-Transport-Security: max-age=31536000.
  • The start-up lines show HTTPS: on (subject, valid until date[, self-signed]).
  • ooa check warns when fewer than 30 days of validity remain and fails when expired.
  • Set public_url (Administration > Settings) to the HTTPS address people use; single sign-on redirects use it.

6. Company certificates​

  1. Request a server certificate whose names (Subject Alternative Names) include every address people and runners use: the DNS name (for example ooa.company.com), and each node's name if runners address nodes directly.
  2. Export it with its private key and chain as a .pfx.
  3. Copy it to a folder readable by the service account, then:
    ooa tls configure --pfx D:\OOA\certs\ooa.pfx --data D:\OOA\cc
    set OOA_PFX_PW=...
    ooa tls set-password --from-env OOA_PFX_PW --data D:\OOA\cc
    ooa tls show --data D:\OOA\cc
  4. Restart the service. Renewal: replace the file (same path, or configure again), store the new password, restart.

A certificate from an authority that Windows and Java already trust (a public CA, or a company CA rolled out by Group Policy) needs nothing more on runners.

7. Self-signed certificates for tests​

ooa tls self-signed --host ooa-test.corp.local --data D:\OOA\cc
ooa tls export-cert --out C:\temp\ooa.cer --data D:\OOA\cc

The certificate is RSA 3072, valid 825 days unless --days says otherwise, named for the host plus localhost and 127.0.0.1, stored as DATA\config\ooa-self-signed.pfx with a random password kept encrypted. Browsers will warn; runners must be given the exported certificate.

8. Certificate trust on runners​

A runner trusts, together:

  1. Java's built-in certificate authorities.
  2. On Windows, the Windows certificate stores (current user and local machine roots): a company CA deployed by Group Policy is trusted automatically.
  3. The file given with --ca (ooa agent register --ca, ooa agent network --ca, ooa agent move --ca, -CaFile, CA_FILE). It is copied next to the registration as ca.cer and used from then on.

Certificate errors show in ooa agent diagnose as FAIL Certificate not trusted. The runner checks the certificate name against the URL, so register with an address that is in the certificate.

9. Load balancers and reverse proxies​

  • No sticky sessions are needed: sessions and sign-ins in progress (two-step codes, SAML and OpenID Connect) are kept in the database.
  • Terminate TLS at the load balancer (leave ooa tls off) or pass it through to ooa tls on each node.
  • Send X-Forwarded-Proto: https when TLS ends in front, so cookies are Secure and HSTS is sent. Set public_url.
  • Idle timeout at least 30 seconds (long polls hold for 25 seconds; the console's change feed also waits up to 25).
  • Request size: allow at least the max_upload_mb setting plus a third (files travel as Base64 in JSON).
  • Health probes: /api/health for liveness, /api/health/ready for readiness.
  • Client addresses: list the load balancers and reverse proxies in Settings > Security > Trusted proxies (trusted_proxies, addresses or CIDR ranges). When a request comes from this computer or from a trusted proxy, the client address is the last X-Forwarded-For address that is not a trusted proxy; the IP allow list, the rate limits and the audit trail use it. Otherwise the TCP peer address is used, and a client cannot choose its address with the header. Without the setting, a remote balancer's own address is what the allow list and the rate limits see. A reverse proxy on the same computer needs no entry, and remote clients behind it are still checked against the allow list.

10. Firewall rules​

RuleWhereNotes
Allow inbound TCP 8720 (or 443 on the balancer) from user networks and runner networksOne CommandCenter or load balancerRestrict further with ip_allow_list (up to 200 addresses or CIDR ranges)
Allow inbound TCP 8720 only from the load balancer subnetOne CommandCenter nodesWhen a balancer is used
Allow outbound TCP 1433 / 5432 to the databaseOne CommandCenter
Allow outbound HTTPS to the services you configure (identity provider, vaults, model providers, Git)One CommandCenter, or through outbound_proxy
Allow outbound to SMTP and syslog targetsOne CommandCenter
Allow outbound TCP to One CommandCenter addressRunnersDirectly or through the proxy
No inbound rulesRunners
Block outbound to private and metadata rangesSaaS region nodesRequired; see 09

11. Local-only listeners​

ListenerAddressWho uses it
Internal plain-HTTP listener127.0.0.1, a random port, only when HTTPS is onThe runner and Studio built into ooa server, so they need no certificate trust
OneAgentStudio standalone (ooa studio)127.0.0.1:8710The builder's browser on that computer; other host names are refused
Studio inside ooa server/studio/ on One CommandCenter port, offered only to browsers on the same computerThe builder
Browser connector native host127.0.0.1, random port, with a random tokenAgents and Studio on the same computer
Java application bridge127.0.0.1, with a tokenThe runner, for Swing/AWT automation

These trust any process on the same computer; keep runner and builder machines single-purpose.