The Samsung Field Device Trust Gap

Our field engineering team relies on Samsung Galaxy Tab Active devices to access the internal operations dashboard while servicing customer sites. Every tablet connects through SSL, and every certificate has an expiry date. Until last quarter, we tracked those expiries in a shared spreadsheet named samsung-cert-tracker-FINAL-v7.xlsx. During a regional audit, one tablet displayed a certificate warning for 43 minutes before anyone noticed. The spreadsheet also could not answer the only question our ops lead cared about: which Samsung devices are online, trusted, and running the current dashboard build right now?

We needed a single source of truth for device posture and SSL health. We also needed it to feel like a product, not a spreadsheet. The result is the Samsung Field Trust Observatory: a Cloud Native, full-stack development platform that turns Samsung Knox telemetry and SSL lifecycle events into a live React dashboard.

Our Solution at a Glance

flowchart TD A[Samsung Knox Device Fleet] -->|mTLS telemetry| B[Cloud Native Ingress with SSL Termination] B --> C[Flask Telemetry API] C --> D[(Redis Streams)] D --> E[Celery Worker Swarm] E --> F[(PostgreSQL)] E --> G[Certificate Enrichment Service] G --> H[GraphQL Gateway] H --> I[React Dashboard] I --> J[SSL Expiry Dashboard Widget] J --> K[Alerting Mesh] K --> L[Ops Team]

The Samsung Field Trust Observatory is deployed as a Cloud Native platform on Kubernetes. A Samsung tablet opens an mTLS connection to our Istio ingress gateway, which terminates SSL and forwards device posture to the Flask Telemetry API. Flask validates the Samsung Knox attestation payload, writes an immutable event to Redis Streams, and returns a 202. Celery workers consume the stream, enrich each event with certificate metadata from Vault, and materialize a device trust snapshot in PostgreSQL. The GraphQL Gateway exposes subscriptions to the React dashboard, and the SSL Expiry Dashboard Widget updates in near real time. Prometheus, Grafana, and Alertmanager handle SLOs and paging. The initial fleet is 11 Samsung tablets, but this architecture can scale to millions of devices without changing the contract.

Architecture and Data Flow

We split the platform into five bounded contexts: Device Identity, Certificate Lifecycle, Telemetry Ingestion, Trust Scoring, and Dashboard Experience. Device Identity is owned by the Flask Telemetry API and backed by PostgreSQL row-level security. Certificate Lifecycle is owned by a cert-manager controller and Vault PKI. Telemetry Ingestion uses Redis Streams with consumer groups and a dead-letter stream. Trust Scoring is a stateless Celery service that combines Knox attestation, certificate expiry, firmware version, and last-seen timestamp into a trust score from 0 to 100. Dashboard Experience is a React application with Apollo Client, a normalized cache, and optimistic UI for certificate renewals. Every service emits OpenTelemetry traces to Tempo and logs to Loki. OPA Gatekeeper enforces namespace policies, and ArgoCD reconciles desired state from Git.

We also added an Istio service mesh with strict mTLS between all workloads. The Flask API is wrapped in a sidecar that rotates SSL certificates every 24 hours. A custom Envoy filter injects the certificate fingerprint into request headers. The GraphQL Gateway uses persisted queries only. The React dashboard signs in through OIDC with PKCE and uses short-lived tokens. Each Samsung tablet gets a SPIFFE identity, and Vault issues device-specific certificates through the SPIFFE CSI driver. This gives us a zero-trust posture for every dashboard request.

SSL Lifecycle Orchestration

Certificate expiry used to be a spreadsheet problem. Now it is an orchestrated workflow. cert-manager requests short-lived certificates from Vault PKI. The Vault agent injector mounts renewed certificates into the Flask API and ingress pods. A sidecar watches the mounted secret and hot-reloads SSL listeners without dropping connections. The Flask API exposes /v1/certificates/health, which reports not-after, not-before, serial number, and fingerprint. Alertmanager fires a warning at 14 days, a high-severity page at 7 days, and a critical incident at 72 hours. The React dashboard shows a countdown ring for every Samsung device and a global certificate heatmap. The SSL Expiry Dashboard Widget is backed by a GraphQL subscription that pushes updates whenever the Certificate Lifecycle context emits an event.

We run a weekly certificate GameDay in staging. A chaos experiment revokes a random certificate, and the platform must detect it, rotate it, and update the dashboard within 90 seconds. This has caught three regressions in our canary environment. The runbook is generated from the same OpenAPI spec as the Flask API, so responders always see the current endpoints.

Full-stack Development Details

Our Full-stack development guild standardized on React 18, Apollo Client, TypeScript, and Vite for the dashboard. The DeviceGrid component virtualizes rows and subscribes to trust-score changes. The SslBadge component renders a color-coded countdown and a tooltip with the certificate fingerprint. The SamsungKnoxStatus component displays attestation state, firmware channel, and last sync time. We use Storybook for component review and Playwright for end-to-end tests. The Flask API uses Flask-Smorest for OpenAPI generation, SQLAlchemy for persistence, and Pydantic for request validation. Celery tasks are idempotent and retry with exponential backoff. The GraphQL Gateway is a thin Apollo Federation layer over Flask REST endpoints. Every pull request runs unit tests, contract tests, and a schema diff check. The dashboard is deployed as a static bundle behind the same Istio ingress, so SSL is terminated once at the edge.

Deployment and Rollout

We deploy with ArgoCD and Helm. Each region has its own Kubernetes cluster, Istio ingress gateway, cert-manager installation, and Vault namespace. Kustomize overlays set replica counts, resource requests, and feature flags per environment. We use Flagger for canary releases and Prometheus for analysis. A new dashboard build goes to 5 percent of Samsung devices first, then 25 percent, then 100 percent. Feature flags live in Unleash and are evaluated in the React app. Database migrations run as Kubernetes Jobs with a pre-sync hook. Backups go to object storage with Velero. The entire platform is reproducible from a single Git repository, and we can rebuild a region in under 30 minutes.

Operational Excellence

We track four SLOs: telemetry ingestion latency, certificate rotation success, dashboard availability, and trust-score freshness. Each SLO has a burn-rate alert and a runbook. We run monthly disaster recovery drills and quarterly access reviews. The Ops Team gets a single pane of glass in the React dashboard, and the SSL Expiry Dashboard Widget links directly to the rotation runbook. We also added a Slack bot that posts certificate warnings to the field engineering channel. The platform now gives us confidence that every Samsung tablet is trusted, online, and running the current dashboard build.