From 676e0b30408bb48db706c4470889938375d6f6c9 Mon Sep 17 00:00:00 2001 From: Saman Sajedi Date: Wed, 28 Oct 2026 12:14:09 +0330 Subject: [PATCH] mcm: edited device protocol --- mqtt-cert-manager/DEVICE_PROTOCOL.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mqtt-cert-manager/DEVICE_PROTOCOL.md b/mqtt-cert-manager/DEVICE_PROTOCOL.md index a69f5ca..e425f34 100644 --- a/mqtt-cert-manager/DEVICE_PROTOCOL.md +++ b/mqtt-cert-manager/DEVICE_PROTOCOL.md @@ -18,8 +18,8 @@ step 2. ## 1. Generate a key pair and CSR (on-device, once) -The private key never leaves the device. Generate an RSA-2048 (or EC -P-256) key pair and a PKCS#10 CSR with: +The private key never leaves the device. Generate an EC +P-256 (or RSA-2048) key pair and a PKCS#10 CSR with: - Common Name = whatever identity you want written into the issued certificate. This does NOT have to be `device_id` and does NOT have to @@ -32,7 +32,8 @@ P-256) key pair and a PKCS#10 CSR with: ones that matter (basic constraints, key usage, SAN) when it signs. Persist the key pair to flash. If a cert is later lost or expires, reuse -the same key and just repeat step 2 — no need to regenerate the key. +the same key and just use auto renewal procedure (or repeat step 2 which +is not recommended) — no need to regenerate the key. ## 2. Publish the request