Security

Supported protocols, TLS ciphers and certificates, data residency, and network requirements.

Supported protocols

ProtocolSupported versions
TLS1.2 and 1.3; TLS 1.0 and 1.1 are disabled
MQTT3.1, 3.1.1, and 5.0; use 3.1.1 or 5.0 for new integrations
HTTPHTTP/1.1 and HTTP/2 on the Management API and artifact endpoints
MQTT over WebSocketsSecure WebSockets at wss://mqtt.spotflow.io/mqtt, using an HTTP/1.1 upgrade

Unencrypted MQTT on port 1883 is not exposed.

TLS cipher suites

Prefer TLS 1.3. Ratings compare suites within each TLS version.

Prefer AES-GCM with AES hardware acceleration; otherwise, prefer ChaCha20-Poly1305.

Key exchange always uses ECDHE.

TLS 1.3

Management API

api.spotflow.io
Cipher suiteAlgorithmsServer certificateRating
TLS_AES_128_GCM_SHA256AES-128, GCM, SHA-256ECDSARecommended
TLS_AES_256_GCM_SHA384AES-256, GCM, SHA-384ECDSARecommended
TLS_CHACHA20_POLY1305_SHA256ChaCha20, Poly1305, SHA-256ECDSARecommended

MQTT and artifacts

mqtt.spotflow.ioartifacts.spotflow.io
Cipher suiteAlgorithmsServer certificateRating
TLS_AES_128_GCM_SHA256AES-128, GCM, SHA-256ECDSA or RSARecommended
TLS_AES_256_GCM_SHA384AES-256, GCM, SHA-384ECDSA or RSARecommended
TLS_CHACHA20_POLY1305_SHA256ChaCha20, Poly1305, SHA-256ECDSA or RSARecommended

TLS 1.2

ECDSA suites are preferred for smaller certificates. RSA suites remain secure compatibility options.

The tables use OpenSSL cipher names.

Management API

api.spotflow.io
Cipher suiteAlgorithmsServer certificateRating
ECDHE-ECDSA-AES256-GCM-SHA384AES-256, GCM, SHA-384ECDSARecommended
ECDHE-ECDSA-CHACHA20-POLY1305ChaCha20, Poly1305, SHA-256ECDSARecommended
ECDHE-ECDSA-AES128-GCM-SHA256AES-128, GCM, SHA-256ECDSARecommended

MQTT and artifacts

mqtt.spotflow.ioartifacts.spotflow.io
Cipher suiteAlgorithmsServer certificateRating
ECDHE-ECDSA-AES256-GCM-SHA384AES-256, GCM, SHA-384ECDSARecommended
ECDHE-ECDSA-CHACHA20-POLY1305ChaCha20, Poly1305, SHA-256ECDSARecommended
ECDHE-ECDSA-AES128-GCM-SHA256AES-128, GCM, SHA-256ECDSARecommended
ECDHE-RSA-AES256-GCM-SHA384AES-256, GCM, SHA-384RSAOK
ECDHE-RSA-AES128-GCM-SHA256AES-128, GCM, SHA-256RSAOK
ECDHE-RSA-CHACHA20-POLY1305ChaCha20, Poly1305, SHA-256RSAOK
ECDHE-ECDSA-AES256-SHAAES-256, CBC, HMAC-SHA1ECDSADiscouraged

ECDHE-ECDSA-AES256-SHA uses CBC with HMAC-SHA1. Use it only for legacy compatibility.

Server certificates

Certificates are issued by Let's Encrypt.

Trusted roots

Trust ISRG Root X1 or ISRG Root X2, ideally both for maximum compatibility. Spotflow SDKs bundle both roots.

Verify the certificate chain and hostname. Keep the device clock accurate. Do not pin leaf certificates; they are renewed regularly. Client certificates are not required.

Root CAAlgorithmPublic key sizeCertificate expiryPublic trust until (estimate)
ISRG Root X1RSA4096-bit2035-06-042030-06-04
ISRG Root X2ECDSA384-bit (P-384)2040-09-172035-09-04

Need custom long-lived root certificates? Reach us at hello@spotflow.io.

Public trust dates reflect root-store policies, not certificate expiry. Embedded trust stores may apply different policies.

ECDSA-only devices must trust Root X2, support P-256 and P-384 signature verification, and validate the chain to Root X2. Using Root X1 requires RSA verification.

Server and intermediate certificates

Server certificates and their issuing intermediates use the following public keys.

Management API

api.spotflow.io
AlgorithmServer keyIssuing intermediate key
ECDSA256-bit (P-256)384-bit (P-384)

MQTT and artifacts

mqtt.spotflow.ioartifacts.spotflow.io
AlgorithmServer keyIssuing intermediate key
RSA2048-bit2048-bit
ECDSA256-bit (P-256)384-bit (P-384)

Both certificate types are offered in a dual certificate setup.

See Let's Encrypt's intermediate CAs.

Authentication

  • Devices: MQTT username = device ID; password = ingest key.
  • Management API: API keys sent as bearer tokens. Scopes limit permitted operations.
  • OTA downloads: the manifest supplies a separate secret, sent as Authorization: OtaSecret <secret>.

Workspace-scoped ingest keys allow connections using any device ID in the workspace. Issuing separate keys enables independent revocation, but does not bind those keys to individual devices.

Data residency and encryption at rest

All data is stored in Azure's Germany West Central region.

Data at rest is encrypted with AES-256, using provider-managed keys. This covers telemetry, metadata, crash reports, firmware images, symbol files, SBOMs, and database backups. Encryption is automatic; no device configuration is needed.

This is not end-to-end encryption. Spotflow decrypts data for backend processing.

Network requirements

Allow these outbound TCP connections as needed:

HostnamePortPurpose
mqtt.spotflow.io8883MQTT over TLS
mqtt.spotflow.io443MQTT over secure WebSockets
artifacts.spotflow.io443OTA firmware downloads
app.spotflow.io443Web app
auth.spotflow.io443User sign-in
api.spotflow.io443Management API

Devices need only the broker endpoint, plus the artifact endpoint for OTA. No inbound ports or port forwarding are required. Commands use the device-initiated MQTT connection.

Use DNS hostnames, not fixed IP addresses. Allow persistent connections and WebSocket upgrades where applicable.

Device-side responsibilities

  • Keep credentials out of logs and public repositories. Revoke compromised keys.
  • For BLE gateways, protect the local link separately. Cloud TLS does not encrypt BLE. See BLE security.

Learn more

On this page