TLS & Certificates
The container listens on plain HTTP on port 8443 by default. You can terminate TLS at an Ingress controller, load balancer, or reverse proxy, or configure the gateway to serve HTTPS itself.
Operator certificates in version 0.4.2
For standalone deployments, leave HANDSHAKE_API_BASE_URL unset. Secure Gateway 0.4.2 accepts an operator certificate for your gateway hostname without requiring api.roboflow.com and repo.roboflow.com in its Subject Alternative Names (SANs). Set GATEWAY_PUBLIC_URL to the HTTPS URL clients use; the certificate must cover that hostname or IP.
RFDM-managed deployments still require both canonical names because their clients route those hostnames through the gateway. Their certificate must also cover the advertised GATEWAY_PUBLIC_URL host when configured.
Version 0.4.2 keeps a still-valid operator certificate even when it expires within 30 days, and logs a renewal warning. Renew it before expiry. The gateway rejects expired or not-yet-valid operator certificates and certificates that do not match the advertised host, without replacing their files.
Version 0.4.1 applied the canonical SAN check to standalone deployments and could replace operator certificates within 30 days of expiry. Upgrade to 0.4.2 before using a hostname-only operator certificate directly; use a TLS proxy if you must keep 0.4.1.
In-pod TLS (end-to-end)
For PCI / FedRAMP setups that require encryption all the way to the process, set both cert paths and the main listener serves HTTPS on PORT instead:
docker run -d --name secure-gateway \
-p 443:443 \
-e PORT=443 \
-e GATEWAY_PUBLIC_URL=https://gateway.example.com \
-e TLS_CERT_FILE=/etc/ssl/certs/gateway.crt \
-e TLS_KEY_FILE=/etc/ssl/private/gateway.key \
-v /path/to/certs:/etc/ssl:ro \
repo.roboflow.com/roboflow-edge/secure-gateway:0.4.2
Both TLS_CERT_FILE and TLS_KEY_FILE are required to enable inbound TLS, PEM-encoded. The MVP Helm chart does not mount certs. Use an Ingress/LB, or extend the chart with a volume.
Outbound CA bundle (TLS inspection)
If the gateway's egress passes through a corporate TLS-inspection proxy (Zscaler, Netskope, a Palo Alto appliance), give it the inspection CA so outbound connections validate:
-e TLS_CA_BUNDLE=/etc/ssl/certs/corporate-ca.pem
Client note. When the gateway has TLS enabled, devices connect over HTTPS/443. The optional HTTP_REDIRECT_PORT listener on :80 is a 301-only redirector; a 301 drops POST bodies, so use HTTPS for clients that POST (RFDM telemetry, logs). See Connecting Clients.