added visquitto app
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## 0.4.2
|
||||
|
||||
- Certificate Common Name (CN) is now taken from each device's own
|
||||
CSR instead of being forced to equal its `device_id`. Enables
|
||||
deployments where many devices intentionally share one CN per
|
||||
@@ -10,11 +11,14 @@
|
||||
CN alongside `device_id` for each entry.
|
||||
|
||||
## 0.4.1
|
||||
|
||||
- Changed SAN default for generating server certificate
|
||||
- Added two new options for organizations
|
||||
|
||||
## 0.4.0
|
||||
|
||||
- Replaced RSA algorithm with EC for encryption.
|
||||
|
||||
## 0.3.0
|
||||
|
||||
- Initial release.
|
||||
@@ -20,6 +20,7 @@ step 2.
|
||||
|
||||
The private key never leaves the device. Generate an RSA-2048 (or EC
|
||||
P-256) 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
|
||||
be unique per device — a common pattern is to share one CN across a
|
||||
@@ -39,6 +40,7 @@ Topic: `cert/enroll/<device_id>/request`
|
||||
QoS: 1, retain: false
|
||||
|
||||
Payload (JSON):
|
||||
|
||||
```json
|
||||
{
|
||||
"csr": "-----BEGIN CERTIFICATE REQUEST-----\n...\n-----END CERTIFICATE REQUEST-----\n",
|
||||
@@ -48,6 +50,7 @@ Payload (JSON):
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`meta` is optional and only shown to the human approving the request — put
|
||||
anything there that helps you recognize the device in the UI.
|
||||
|
||||
@@ -69,26 +72,31 @@ device has its own dedicated topics here — no filtering needed, unlike
|
||||
setups where many devices might share one topic.
|
||||
|
||||
- `cert/enroll/<device_id>/issued` — retained. Payload:
|
||||
|
||||
```json
|
||||
{
|
||||
"cert": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n",
|
||||
"ca": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"
|
||||
}
|
||||
```
|
||||
|
||||
Because this is retained, if the device subscribes *after* a cert was
|
||||
already issued (e.g. after a reboot), it will receive it immediately
|
||||
without needing to re-request.
|
||||
|
||||
- `cert/enroll/<device_id>/rejected` — not retained. Payload:
|
||||
|
||||
```json
|
||||
{ "reason": "human-readable reason" }
|
||||
```
|
||||
|
||||
- `cert/enroll/<device_id>/revoked` — not retained, best-effort only.
|
||||
Payload:
|
||||
|
||||
```json
|
||||
{ "reason": "human-readable reason" }
|
||||
```
|
||||
|
||||
Sent if you revoke a device's cert after it was issued. This is
|
||||
informational — actual enforcement happens at the TLS layer via
|
||||
Mosquitto's CRL check, which a revoked device will hit on its *next*
|
||||
@@ -117,6 +125,7 @@ Topic: `cert/enroll/<device_id>/renew`
|
||||
QoS: 1, retain: false
|
||||
|
||||
Payload (JSON):
|
||||
|
||||
```json
|
||||
{
|
||||
"csr": "-----BEGIN CERTIFICATE REQUEST-----\n...\n-----END CERTIFICATE REQUEST-----\n",
|
||||
|
||||
Reference in New Issue
Block a user