Capture TLS Traffic
Prerequisites
- Install the Operator.
- Enable the eBPF collector and target your workload.
- Confirm that your language and TLS library are listed under TLS Traffic Visibility.
Our app
For this guide, we are using a Java app called java-runc. It serves endpoints such as /treasury/max_interest and /api/projects, and each inbound request makes an HTTPS call to api.fiscaldata.treasury.gov or demo-api.trafficreplay.com.
Viewing traffic
In the traffic viewer for our service, we can see individual requests and their headers and bodies. If a request is marked as TLS in the Tech column, Speedscale observed the connection but could not read the plaintext payload.
Enable TLS capture
The eBPF collector reads plaintext at supported TLS library boundaries. It does not require a Speedscale certificate, a proxy, or the sidecar.speedscale.com/tls-out annotation.
Enable capture for the deployment:
kubectl annotate deployment java-runc -n YOUR_NAMESPACE \
capture.speedscale.com/enabled="true" --overwrite
Java workloads also require the Operator-managed JVMTI agent. Enable it before restarting the workload:
kubectl annotate deployment java-runc -n YOUR_NAMESPACE \
capture.speedscale.com/java-agent="true" --overwrite
The Java agent changes the pod template so it can load inside the JVM. See Java eBPF capture for details.
Restart long-lived workloads after enabling capture so the collector sees new TLS connections from the beginning:
kubectl rollout restart deployment java-runc -n YOUR_NAMESPACE

The outbound HTTPS requests are now decoded. In this example, /treasury/max_interest makes a GET request to api.fiscaldata.treasury.gov, and the /api/projects and /api/categories endpoints make GET requests to demo-api.trafficreplay.com.
If traffic remains encrypted
Check the collector requirements before changing your application:
- Go applications require Go 1.18 or newer and an unstripped binary built without
-ldflags="-s". - OpenSSL capture requires OpenSSL 3.x. BoringSSL, LibreSSL, and older OpenSSL releases are not supported by the eBPF TLS probes.
- Rust applications using rustls require
nettapv0.1.77 or newer and an unstripped Linux ELF binary that retains the rustls probe symbols. Rust applications using OpenSSL follow the OpenSSL 3.x requirement. - JVM applications written in Java or Kotlin use the Speedscale JVMTI agent, which the Operator manages with the eBPF collector.
- Connections established before the probes attach can remain opaque until the application opens a new connection.
See eBPF limitations for the complete list. Existing sidecar deployments can continue to use the legacy sidecar TLS configuration.