Skip to content

Commit deced45

Browse files
cmatteclaude
andauthored
feat: mount the Home Assistant /ssl directory read-only (#873)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 802761e commit deced45

4 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎zigbee2mqtt-edge/config.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
"type": "addon_config",
3535
"read_only": false,
3636
"path": "/addon_config"
37+
},
38+
{
39+
"type": "ssl",
40+
"read_only": true
3741
}
3842
],
3943
"ports": {

‎zigbee2mqtt/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [Unreleased]
2+
3+
- Mount the Home Assistant SSL directory into the addon container read-only (`/ssl`), so certificates managed by addons such as Let's Encrypt can be used for MQTT TLS and the frontend [#835](https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/835)
4+
15
## 2.14.1-1
26
- Updated Zigbee2MQTT to version [`2.14.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.14.1)
37

‎zigbee2mqtt/DOCS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ If you are interested in adding support for new devices to Zigbee2MQTT see [How
7070

7171
- Depending on your configuration, the MQTT server config may need to include the port, typically `1883` or `8883` for SSL communications. For example, `mqtt://core-mosquitto:1883` for Home Assistant's Mosquitto app.
7272
- To find out which serial ports you have exposed go to **Settings → System → Hardware → ⋮ → System hardware** and type the device name in the search bar.
73+
- The Home Assistant `/ssl` directory is mounted read-only, so certificates kept there (for example by the Let's Encrypt addon) can be referenced both in the MQTT configuration (`key: /ssl/privkey.pem`, `cert: /ssl/fullchain.pem`) and in the frontend settings (`ssl_key` / `ssl_cert`). Because it is read-only, renewals performed by the managing addon are picked up without copying files.
7374

7475
# Socat
7576

‎zigbee2mqtt/config.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
"type": "addon_config",
3838
"read_only": false,
3939
"path": "/addon_config"
40+
},
41+
{
42+
"type": "ssl",
43+
"read_only": true
4044
}
4145
],
4246
"ports": {

0 commit comments

Comments
 (0)