mcm: edited device protocol
This commit is contained in:
@@ -18,8 +18,8 @@ step 2.
|
|||||||
|
|
||||||
## 1. Generate a key pair and CSR (on-device, once)
|
## 1. Generate a key pair and CSR (on-device, once)
|
||||||
|
|
||||||
The private key never leaves the device. Generate an RSA-2048 (or EC
|
The private key never leaves the device. Generate an EC
|
||||||
P-256) key pair and a PKCS#10 CSR with:
|
P-256 (or RSA-2048) key pair and a PKCS#10 CSR with:
|
||||||
|
|
||||||
- Common Name = whatever identity you want written into the issued
|
- Common Name = whatever identity you want written into the issued
|
||||||
certificate. This does NOT have to be `device_id` and does NOT have to
|
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.
|
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
|
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
|
## 2. Publish the request
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user