TLS certificates and reverse proxy for Shuffle

Shuffle ships with a self-signed certificate that should not reach production users or runtimes. This page explains how to front Shuffle with a reverse proxy, set timeouts for long executions, encrypt Orborus traffic and renew certificates.

On this page

Why a self-hosted Shuffle needs its own TLS and reverse proxy plan

A self-hosted Shuffle install needs a deliberate TLS and reverse proxy plan before go-live because the default setup does not give your analysts, your identity provider or your runtime a trusted, encrypted path to the platform. This work puts a certificate that your browsers and tools trust in front of Shuffle, and it extends that encryption to the traffic that runs workflows. Shuffle's server side has three parts that matter here: a frontend that analysts load in the browser, a Go backend API listening on port 5001, and an OpenSearch document database that stores workflows, executions and saved app credentials. The frontend and backend are the paths a reverse proxy usually fronts, and OpenSearch should stay on an internal network that only the backend reaches.

The runtime side is separate and easy to overlook. According to the architecture docs, Orborus polls the backend for jobs, starts a worker for each workflow execution, and the worker starts app containers. That means the traffic between Orborus and the backend is not only a browser concern. If the backend's address is set to plain HTTP, job and execution traffic crosses your network unencrypted even when the browser session is protected. Before go-live, confirm which address Orborus uses to reach the backend, which hosts run Orborus, and whether any of them sit in a different network zone. Teams running a hybrid setup with Shuffle Cloud and a local Orborus should also check the Shuffle architecture docs for which connections are initiated from the local side.

Decide these questions early, because changing the public URL after users, webhooks and apps are configured creates rework. Ask who issues the certificate, how it renews, which hostname analysts and integrations will use, and whether your identity provider's redirect URLs depend on that hostname. Confirm with your own security standards whether internal certificates are acceptable for the runtime traffic. The reverse proxy also needs timeouts that allow long-running executions, so plan a test workflow that runs for longer than a short request before you sign off the design.

How browser and Orborus traffic reaches the backend through TLS

The diagram starts with users in browsers and Orborus nodes on runtime hosts, both connecting over HTTPS to an Nginx proxy on the public edge. Nginx forwards to the Shuffle frontend and the Go backend on the internal Shuffle server network, and the backend reads and writes OpenSearch. Check that the BASE_URL value matches the public HTTPS address Orborus uses, and that nothing on the runtime hosts reaches OpenSearch or the backend directly.

Browser and Orborus traffic enters through one TLS proxy before reaching the internal backend.

Which certificate and proxy options fit which environment

This table compares certificate sources and proxy placements for Shuffle, with the renewal owner and the effect on Orborus and apps for each. Read each row as a pairing: pick the certificate source that matches your PKI, then the proxy placement that matches your network, and check the consequences in the last column.

OptionWhen it fitsWho owns renewalWhat it means for Orborus and apps
Public CA certificate on the Shuffle hostUsers and Orborus reach the server from outside your network and your organization already buys public certificatesYour certificate team, through the purchase or vendor renewal processOrborus and apps trust it only if their clients use the public trust store; confirm this for each app and runtime location
Internal CA certificate on the Shuffle hostUsers, Orborus and internal systems all sit inside a private network with a corporate PKIYour PKI team; confirm who holds the signing key and the renewal calendarEvery Orborus node and app container that calls the backend needs the internal root certificate added to its trust store
ACME-based issuance at the proxyYou want automated renewal and the proxy can complete the challenge your network allowsThe team that runs the proxy or ingress; confirm the challenge type and the account ownerRenewal is automated, but a failed renewal can break Orborus traffic silently, so monitor expiry dates and proxy reloads
Manually managed certificate filesSmall installs or networks where no automation is allowed and renewals are rare and trackedA named person on the operations team, with a documented calendar and a second contactAny missed renewal stops encrypted access for users and runtime traffic at once; keep copies of the chain and a tested reload step
Nginx on the Shuffle hostA single-server Docker Compose install with no shared edge device in front of itThe Shuffle operations team, since the proxy and certificate sit on the same machineOrborus must reach the backend through the same encrypted address once BASE_URL is updated; confirm the path in each runtime location
Shared edge load balancerYour organization already terminates TLS at a central load balancer for internal servicesThe network or platform team that manages the load balancerConfirm that long-running executions are not cut by the load balancer idle timeout, and that Orborus can reach the balancer address
Kubernetes ingressShuffle runs on Kubernetes with the Helm chart and your cluster already runs an ingress controllerThe platform team that owns the cluster and its certificate manager, where one is usedCheck ingress timeouts against execution length and confirm which in-cluster addresses Orborus and apps use to reach the backend

Putting Nginx in front of the Shuffle frontend

This sequence puts Nginx in front of the Shuffle frontend to terminate TLS, then moves BASE_URL to the HTTPS address so Orborus traffic is encrypted as well. Each step ends with a check, so the sequence finishes with a working login, a completed test run and a renewal path.

  1. Confirm hostname and current BASE_URL

    Record the hostname that users and Orborus will use, confirm it resolves to the proxy host from the browser network and from every host running Orborus, and note the BASE_URL value currently set in your Shuffle environment file. The team that owns DNS and the Shuffle operator should both approve the name, because changing it later means reissuing certificates and reconfiguring runtimes. Check: the name resolves on each network segment and the current value is written down before you change anything.

  2. Obtain a certificate chain for the hostname

    Request a certificate for the exact hostname from your internal certificate authority or a public one, then assemble the leaf certificate and its intermediates into a single chain file. The private key stays on the proxy host, readable only by the service account that runs Nginx. Your security team usually sets the key type, key size and issuer policy before the request is made. Check: the subject alternative name matches the hostname and the chain verifies against a root that your clients and Orborus hosts trust.

  3. Configure Nginx to terminate TLS

    Create a server block that listens on port 443, points its certificate and key directives at the files from the previous step, and proxies requests to the Shuffle frontend address exposed by your deployment. Confirm that frontend address in your Compose or Helm configuration before you write the block. Add a port 80 server that redirects to HTTPS if your policy requires it. Check: the Nginx configuration test passes and a request to the hostname returns the Shuffle login page over HTTPS.

  4. Raise proxy timeouts for long executions

    Workflows that wait on external systems or on human approvals can keep a request open far longer than an ordinary web page, so default Nginx proxy timeouts can cut a run off mid-execution. Increase the connect, send and read timeouts in the location block that serves the frontend. Choose the values from the longest execution you expect in your environment and confirm them with a test rather than guessing. Check: reload Nginx, start a long test run from the UI and confirm it finishes without a gateway timeout page.

  5. Update BASE_URL to the HTTPS address

    Change BASE_URL in the .env file used by your Shuffle stack so it uses the https scheme and the hostname from the first step. Orborus uses this address to reach the backend, so leaving it on http keeps runtime traffic unencrypted even when browsers use HTTPS. The Shuffle configuration docs describe the related settings. Check: the backend and Orborus containers report the new value in their environment, and no old http address remains in the file.

  6. Restart the stack and inspect the certificate

    Restart the Shuffle services so the new BASE_URL takes effect, and reload Nginx if it runs on the host. Open the hostname in a browser and inspect the certificate, checking the issuer, validity dates, subject alternative name and the full chain. Sign in and browse a few Shuffle pages to confirm the browser reports no certificate warnings and no mixed content. Check: the padlock is clean and sign-in completes over HTTPS.

  7. Confirm Orborus connects over HTTPS

    Read the Orborus logs after the restart and confirm it polls the backend at the HTTPS address without certificate verification errors. If Orborus runs on a different host from the proxy, make sure that host trusts the chain from the second step. Then run a test workflow that includes a short wait action and confirm it completes with the expected output. Check: the logs show successful polling and the test workflow finishes from start to end.

  8. Set certificate renewal and reload checks

    Record the certificate expiry date, automate renewal with the tool your certificate authority supports, and add a renewal hook that validates the Nginx configuration before reloading it, so open connections are not dropped. A renewal under the same hostname and CA does not require a BASE_URL change, but a new hostname or a new CA does. Rehearse the renewal on a staging copy first. Check: a renewal dry run completes, Nginx reloads cleanly and Orborus still connects afterward.

Why execution timeouts and Orborus traffic need separate attention

Two traffic paths cross the reverse proxy, and they fail for different reasons. The first is the browser and API traffic to the frontend and backend, where a long-running workflow execution can hold a connection open longer than a default proxy timeout allows. The second is Orborus, which polls the backend for jobs and starts a worker for each execution. Orborus long polls and job traffic can outlast the same defaults, so a proxy timeout that looks fine for the UI can silently break runtime behavior. Treat the two as separate checks rather than assuming one setting covers both.

Do not copy a timeout number from a blog post or a previous install. Choose the value by running your longest real workflow through the proxy, measuring how long it takes end to end, and adding margin for slow downstream apps. Repeat the test with a workflow that calls a slow external API, since that is where timeouts usually appear. Confirm the proxy directives you plan to set, such as the Nginx proxy_read_timeout and related settings, against the timeout guidance in the Shuffle configuration docs and against the version you run. The docs remain the reference for any default values I have not confirmed here.

Updating BASE_URL changes the address Orborus uses to reach the backend, so this is the setting that moves runtime traffic onto HTTPS. Orborus nodes on other hosts must trust the full certificate chain, including any internal CA, or they will refuse the connection. A hybrid setup with Shuffle Cloud is the exception: the local Orborus connects outward to the cloud, so it needs no inbound firewall ports. Confirm which of these four architectures you run before you change any proxy settings, because the work to trust certificates is very different for each.

Security risks in the TLS and proxy layer

The reverse proxy and certificate sit in front of every login, API call and runtime message in a Shuffle deployment. The risks below cluster around who can read the private key, which traffic is encrypted, what gets written to logs, and what breaks when the encryption secret changes during reconfiguration.

Keep the private key off shared hosts

The private key for the Nginx certificate should live only on the proxy host, readable by the proxy process and root. Do not copy it into the Shuffle project directory, a shared configuration repository or a container image layer. Check file permissions on the key and on any backup of the proxy configuration, and confirm who in your team can read the directory where certificates are stored.

Avoid disabled certificate verification

Turning off TLS verification in Orborus, the backend or an app can appear to fix a broken connection, but it lets any host answer as your Shuffle server. When a private CA is involved, add that CA to the trust path instead. Test each component by calling the public hostname with verification enabled, and search your configuration for insecure or skip-verify settings before go-live.

Expose only the proxy port

Publish the HTTPS port on the proxy and keep the Go backend on port 5001 reachable only on the internal Docker or cluster network. Confirm this with a port scan from outside the network and from a second internal segment. Direct access to the backend bypasses proxy timeouts, header rules and any access logging you configured in front of it.

Choose HSTS and TLS versions deliberately

Strict Transport Security tells browsers to refuse plain HTTP for your Shuffle hostname, which is hard to undo once cached. Set the minimum TLS version and cipher suites to match your organization's written crypto policy, and confirm them with your security team rather than copying a template. Test the setting with the browsers and API clients your analysts use before enabling long HSTS lifetimes.

Keep secrets out of proxy logs

Default Nginx access logs record request paths and some headers, and a misconfigured log format can capture query strings that carry tokens or API keys. Review the log format, disable logging of Authorization and Cookie headers, and restrict log file permissions. Check that any log shipping to a SIEM also filters these fields before the data leaves the proxy host.

Protect the encryption modifier during changes

SHUFFLE_ENCRYPTION_MODIFIER encrypts saved app credentials and API keys in OpenSearch. Changing or losing it during a certificate or BASE_URL update breaks every saved app authentication. Before editing the environment file, back up the current value through your secrets manager, record it outside the server, and confirm that a restart leaves existing app connections working.

Configuration docs

How certificate renewal works without breaking runs

Who should own certificate renewal for a self-hosted Shuffle instance?

A named team should own renewal, usually the platform or infrastructure team that already runs your load balancers and reverse proxies, with the security team reviewing the issuance policy. Ownership means someone is paid to watch expiry dates, runs the renewal, reloads Nginx and records the result. Shuffle does not manage your certificates, so renewal stays with your certificate authority process or ACME client. Confirm the owner, the backup owner and the escalation path before go-live, because a certificate that expires on a Friday with no owner is a common cause of outages. Ask any partner to show who approves changes and who receives expiry alerts.

How do you reload Nginx after renewal without dropping active executions?

Reload Nginx gracefully rather than restarting it, so existing connections finish while new connections use the new certificate. Validate the configuration with nginx -t before the reload, then run nginx -s reload or the equivalent service command on your host. Long workflow executions depend on the timeouts you set in the proxy, so check that the reload does not reset the connections Orborus uses to poll the backend. Test the sequence in a non-production instance first and record the exact commands in the runbook.

How do you check that Orborus reconnects after a certificate change?

After any renewal that touches the backend or the BASE_URL endpoint, confirm that Orborus reconnects and resumes polling for jobs. Check the Orborus logs for successful connection messages and confirm that a test workflow starts and completes. If Orborus was configured to trust a private certificate authority, verify that the trust chain still matches the new certificate. A reconnection check is part of the change, not an optional step, because a runtime that silently stops polling can look healthy in the frontend until jobs queue up.

What breaks if a certificate expires while a workflow is running?

Browser sessions fail first, and any step that calls the backend or the public endpoint over TLS can fail when the certificate expires. Clients that verify certificates will refuse the connection, so an execution waiting on a callback or a status update may stall or end in an error state. Orborus may lose its connection to the backend and stop receiving new jobs. Review the stalled executions after recovery, because some apps may retry and others may not. Your error notification path should be tested so the team learns about the failure from an alert, not from a stalled incident.

How far ahead should expiry dates be monitored and alerted?

Monitor expiry dates for every certificate in the chain that Shuffle uses: the frontend certificate on Nginx, the certificate for the backend endpoint if it is exposed, and any private certificate authority bundle that Orborus or apps trust. Set alerts at several thresholds so there is time to act if a renewal fails. The exact lead time depends on your issuance process, your change window and how long a failed renewal takes to fix, so confirm those numbers with your own team. Use an external check that tests the live endpoint, not only the file on disk, because a renewed file that is never loaded still leaves the service on the old certificate.

How do you test certificate renewal in a non-production Shuffle instance?

Build a non-production instance with the same proxy configuration, the same BASE_URL pattern and a certificate issued from the same kind of authority as production. Run a renewal, reload Nginx, then check the frontend, the backend API, Orborus reconnection and a test workflow that calls an external app. Repeat the test with a deliberately short-lived certificate to confirm that alerts fire and the runbook works under pressure. Keep the test environment as close to production as your budget allows, and confirm with your partner or internal team which differences remain, such as hostnames or the size of the runtime fleet.

What should the certificate renewal runbook contain?

The runbook should list the owner, the certificate inventory with hostnames and expiry dates, the issuance and renewal commands, the Nginx validation and reload steps, the Orborus reconnection checks and the rollback steps. It should also name the test workflow to run, the people to notify and the place where the change is recorded. Keep it under version control alongside your proxy configuration and review it after each renewal. A partner delivering this work should hand over the runbook as a document your team can run without them, and you should confirm that format in the written scope before work starts.

Limits to confirm in your environment

The settings below depend on the Shuffle release, the Orborus version and the network path you actually run, not on defaults you remember from another install. Confirm each one against the docs for your version and test it on a staging copy before you change production.

Required timeout values

Long-running executions can be cut off by a proxy that gives up before the workflow finishes. Confirm the exact read, send and idle timeout values your Shuffle release expects, then set them in the Nginx configuration and compare them with a workflow that runs longest in your environment. A timeout set too low shows up as executions that fail only at the proxy, not inside Shuffle.

Configuration docs

Certificate chain support in Orborus

Orborus connects to the backend and must trust the certificate you install, including any intermediate certificates in the chain. Check that the Orborus version you run accepts your chain type, whether it is a public CA, an internal CA or a wildcard certificate. Test the connection from each runtime host, because a successful browser login does not prove that Orborus can reach the backend over TLS.

Websocket and streaming support

If your proxy path carries websockets or streamed responses, the Nginx directives for upgrade headers and buffering must match what the frontend and backend use. Confirm this with the Shuffle release you run, then test live views of running workflows through the proxy. Turning buffering off or on without a test can break progress updates while leaving basic page loads working.

Supported Shuffle version

Confirm which release you are on before you tune the proxy, because the expected settings can change between versions. Shuffle v2.3.0 was published on September 28, 2026, and versions older than v2.1.1 stopped being supported after January 31, 2026. Upgrade first if you run an older release, then configure TLS against the version you intend to keep.

Shuffle releases

Firewall rules for runtime hosts

Runtime hosts running Orborus and app containers need outbound access to the backend URL you set in BASE_URL, and the ports that URL uses must be open on the path between them. Check the firewall on the proxy, the backend host and each runtime host separately. Shuffle's hybrid model needs no inbound ports on the runtime side, so confirm which direction each rule must allow in your design.

What teams ask before handling TLS for Shuffle

How much effort does TLS for a single-server Shuffle install take compared with a multi-node design?

A single-server Docker Compose install needs one reverse proxy in front of the frontend, one certificate, one DNS name and a short set of configuration changes, so the work is small and contained. A multi-node design changes the picture because the Shuffle docs describe a high availability setup with an OpenSearch cluster, several backends, NFS for shared files and more than one Orborus node, and each of those components needs a decision about how traffic is encrypted and which names clients and runtimes use. Effort grows with the number of entry points, the number of Orborus nodes that must reach the backend over an encrypted address, and the number of environments that need separate certificates. Ask any partner to break the estimate down by entry point and runtime node, not by a single total.

What does the internal team need to provide before TLS work starts?

Three things usually gate the work: DNS control for the names users and Orborus will call, access to the certificate authority or the process that issues and renews certificates, and a maintenance window in which the frontend address and BASE_URL can change. Without DNS records, the new certificate cannot be issued for the right name. Without CA access, the team will either wait on a ticket or fall back to a self-signed certificate that the Orborus side may not trust. A maintenance window matters because changing BASE_URL affects running runtimes, so executions in flight should be checked before the switch. Confirm each of these owners and lead times with your own infrastructure and certificate teams before agreeing a schedule.

Can an in-house team set up Shuffle TLS without outside help?

Yes, a team that already runs Nginx, manages its own DNS and operates an internal or public certificate process can usually handle a single-server setup alone, using the configuration documentation as the reference. Outside help tends to add the most value where the design touches several systems at once: multi-node Orborus traffic, Kubernetes ingress, a private CA with its own trust rules, and verification that every runtime node still connects after renewal. The practical test is whether one person can explain how a renewed certificate reaches the proxy, the backend and each Orborus node without breaking executions. If the answer is no, a partner can plan and implement the change, then hand over runbooks so your team can renew it on its own.

What drives the cost of TLS work up?

The biggest drivers are the number of Orborus nodes, because each one needs a path to the backend that must be encrypted and tested, and whether you run Kubernetes ingress, which adds an ingress controller, its certificate handling and its own timeout settings. An internal CA process also adds cost when it requires manual approval, a long issuance path or a trust bundle that must be distributed to hosts and to Shuffle apps. Other factors include the number of environments (production, staging, air-gapped), the amount of testing required before cutover and whether you want renewal automated or left to a manual calendar. Costs that recur are renewal checks, certificate rotation and the work to keep proxy settings aligned with each Shuffle upgrade.

Does the Orborus traffic need encryption, and what changes when BASE_URL is updated?

Yes, if Orborus connects to the backend over an address that crosses a network you do not fully control, its traffic should be encrypted as well as user traffic. The configuration docs describe BASE_URL as the address runtimes use to reach the backend, so updating it to an https address is what moves Orborus traffic onto TLS. The change must be applied consistently across the backend, the proxy and every Orborus node, and each node must trust the certificate chain it presents. Plan a test in which a workflow runs end to end after the change, and check that a node that was not restarted still reconnects correctly. Confirm the exact variable names and restart steps against the configuration documentation for your Shuffle version.

What should a partner quote for TLS and reverse proxy work include?

A written quote should follow from a written scope, so ask for a list of the deployment architecture (single server, Swarm, Kubernetes or hybrid), the number of Orborus nodes, the DNS and certificate sources, and whether a private CA is involved. The quote should name each deliverable: the Nginx configuration, the timeout values chosen for long executions, the BASE_URL change plan, a cutover and rollback procedure, a test run that includes a workflow execution, and the documented renewal process. Ask who performs renewal after handover, what the support boundary is, and whether a maintenance window is included in the scope. Compare quotes on these items rather than on a single number, and confirm all timelines in writing before work starts.

How DeployOpen scopes and delivers Shuffle TLS work

DeployOpen deploys self-hosted Shuffle inside your own infrastructure, so the certificate, the reverse proxy and the renewal process run in your cloud accounts, data centers or private networks. Before any change is made, the scope is agreed in writing. For TLS work that scope normally names the public hostname for the frontend, the certificate source (an internal CA, a public CA or a managed issuer), the Nginx host or container that will terminate TLS, the value of BASE_URL after the change, and the Orborus nodes and workers that must reach the backend over HTTPS. It also states what is out of scope, such as changes to the Shuffle application itself, DNS ownership and certificate policy decisions that belong to your security team. A written scope lets your team check who approves the certificate authority, who holds the private key and who receives renewal alerts before work starts.

Delivery is tested against the path a real execution takes, not only against the browser login page. DeployOpen checks that the frontend loads over HTTPS with the expected chain, that the proxy timeouts allow long-running executions to return without cutting off the connection, and that every Orborus node reconnects to the backend after the change. A reconnection test restarts the proxy and the backend in turn, then confirms that queued jobs resume and that a workflow with a multi-step run completes. Findings are written up with the configuration used, the verification steps and the rollback path. Your team owns the decisions this exposes, including whether to keep the bundled setup or move to an external proxy, and the results are yours to keep.

Certificates expire, so the work does not end at go-live. DeployOpen offers retainers that cover certificate renewal monitoring, scheduled rotation, and the re-test of Orborus connectivity after each renewal or Shuffle upgrade. Ask any provider to state in the quote who performs each renewal, how expiry is monitored, how long the outage window is, and whether the retainer covers changes to BASE_URL when a hostname changes. Confirm the Shuffle version you run against the release notes before scheduling an upgrade, because proxy settings can change between releases. Pricing for a retainer follows from the written scope, and DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.