CHG-0050: Extra Names on a Pi’s Certificate (deevnet-kit 0.12.0) #
| Date | 2026-10-18 |
| Change type | Deployment |
| Classification | Routine |
| Status | Complete, 2026-10-18. deevnet-kit 0.12.0 released and staged; on dv02rpi003p01 by hand, whose certificate now names both the mobile and the home site. |
| Window | 2026-10-18 |
| Site | mobile |
| Systems | deevnet-provisioning-api (v0.12.0); the artifact server’s binaries/deevnet-kit/ and binaries/deevnet-log-user/; dv02rpi003p01’s /usr/local/bin/deevnet-kit |
| Automation | deevnet-provisioning-api PR #31, tag v0.12.0, make stage-pi |
| Risk | Low. A card that sets no names behaves as before. On the Pi, 0.11.0 is kept beside the new binary |
| Related changes | CHG-0049, the take-home image on 0.11.0 |
| Related incidents | None |
| Related runbooks | None |
Summary #
A pi-backend card’s server certificate named its hostname, <hostname>.local, localhost and
the addresses the Pi had when it was issued, and nothing else. EdS’s backend Pi is on DVNTM now and
moves to its owner’s home network, where it will be 192.168.2.40 and have names under
home.deevnet.net. Its devices are rebuilt to dial those, so the certificate has to carry them
before the Pi has them.
What was done #
deevnet-kit0.12.0 (PR #31): extra names and addresses in/etc/deevnet-kit/names, one a line, set bynames=indeevnet-kit.txton first boot and bydeevnet-kit names [list|set|add|rm]afterwards; every certificate issued carries them; wildcards refused.regen-certsnow also restarts Grafana, which presents the certificate on 3000 and kept the old one (seen ondv02rpi003p01the same day). Three new tests;go test ./...passes on the Builder, and the PR’s checks passed.- Released and staged: tag
v0.12.0,make stage-pi;deevnet-kit-latest-linux-arm64points atdeevnet-kit-v0.12.0-linux-arm64(5fdb7c3b…). dv02rpi003p01, by hand, no reflash: the binary copied to/usr/local/bin/deevnet-kit, 0.11.0 kept asdeevnet-kit.v0.11.0;names setwith192.168.2.40,dv02rpi003p01.mobile.deevnet.net,dv01rpi001p01.home.deevnet.net,dv01rpi001p01,mqtt.home.deevnet.net,console.eds.home.deevnet.net,grafana.home.deevnet.net,logs.home.deevnet.net;regen-certs.
Verification #
- The certificate’s SANs hold every name above,
10.20.30.13, the Wi-Fi address and192.168.2.40; valid to 2029. - From a laptop on DVNTM, dialing
10.20.30.13and verifying against the card’s CA: the broker asmqtt.home.deevnet.net,dv02rpi003p01.mobile.deevnet.netand192.168.2.40; Grafana, the log store and EdS’s console under their home names.mqtt.mobile.deevnet.netis refused. deevnet-kit selftest: 15 of 15.
Departures #
- Carried out from the operator’s Mac by an assistant session, for EdS CHG-0028.
- The published
pi-backendimage is still on 0.11.0 (CHG-0049): a new card cannot takenames=until it is rebuilt.
Follow-ups #
- Rebuild and republish
pi-backendon 0.12.0. -
deevnet-kit initissues the CA and certificate before the clock is set: ondv02rpi003p01they began2025-11-24, the image’s saved clock. Wait for time sync first. - Two x86-64 binaries are committed in
deevnet-provisioning-api(deevnet-kitandcmd/deevnet-kit/deevnet-kit).