Mutual TLS for every device
Devices connect over TLS with a client certificate. Generate keys on the device and send only a CSR: the private key never leaves it.
MQTT 5 broker · built from scratch in C
GMQ is a fast, multi-tenant MQTT 5 broker. Every device authenticates with its own certificate, every customer gets an isolated namespace, and a single small cloud node moves tens of thousands of messages per second.
Security, isolation and throughput in the broker itself, not in a plugin.
Devices connect over TLS with a client certificate. Generate keys on the device and send only a CSR: the private key never leaves it.
Each account has its own CA. Issue certificates from the portal, with an API key from your production line, or sign them offline with an intermediate CA, or bring your company's CA.
Client IDs and topics live in your account's namespace. Other accounts cannot see or reach your devices, and per-account rate limits keep a noisy neighbour from slowing you down.
Products already on the market keep their own client IDs and topics: the broker adds and removes your account's prefix transparently.
QoS 0, 1 and 2, persistent sessions, retained messages, shared subscriptions, message expiry, topic aliases and Will messages. Sessions and retained messages are journaled to disk.
Active devices this month, connections, messages and bytes in and out, day by day, in the portal. Revoke a device or a whole intermediate CA with one click.
Load tests on a single 4 vCPU Arm cloud node, mutual TLS, 1000 publishers and 1000 subscribers.
One node holds 56,000 connected devices in 2.8 GiB of memory. Figures from our load-test runs; your results depend on payload, QoS and network.
You get your own tenant, its certificate authority and a namespace for client IDs and topics.
From the portal, or with gmq-provision and an API key:
the key is generated on the device, the portal signs the CSR.
Mosquitto, Paho, or your firmware's MQTT 5 stack, over TLS on port 8883.
Replace acme with your account ID.
# publish one reading with the Mosquitto clients
mosquitto_pub -V mqttv5 -h mqtt.example.com -p 8883 \
--cafile broker-ca.pem --cert device.pem --key device.key \
-i acme/sensor-01 -t acme/sensors/temperature -m 21.5 -q 1
# the same with Python (paho-mqtt 2.x)
import paho.mqtt.client as mqtt
c = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2,
client_id="acme/sensor-01", protocol=mqtt.MQTTv5)
c.tls_set(ca_certs="broker-ca.pem", certfile="device.pem", keyfile="device.key")
c.connect("mqtt.example.com", 8883)
c.loop_start()
c.publish("acme/sensors/temperature", "21.5", qos=1).wait_for_publish()
c.disconnect()
A free plan to see how GMQ behaves with your own devices and your own traffic. No credit card.
The free plan is open to the first 100 accounts. It runs on a single node without an SLA: use it to evaluate GMQ, not for production.
Free
€0 / month
Already have an account? Sign in
Any MQTT 5 client with TLS and client certificates: we test with the Mosquitto clients and Eclipse Paho. MQTT 3.1.1 clients are refused: GMQ speaks MQTT 5 only.
A certificate cannot be guessed or reused from a leaked database, and it can be revoked one device at a time. With a CSR the private key never leaves the device.
Nothing is dropped. Messages beyond the rate wait and your devices are slowed down by TCP; connections beyond the device limit are refused with the MQTT 5 reason "Quota exceeded".
Please don't. It runs on one node with no redundancy and no SLA, and is meant for evaluation.
Yes. With a mounted account your devices use their own client IDs and topics, and the broker adds your account's prefix for them.