[core] Device certificates: device_certs host field; edge config v3 and Caddy client_authentication with a CA bundle and an allow list, 403 without a certificate

This commit is contained in:
2026-11-07 22:46:07 +01:00
parent dc23bfe842
commit 18da3f5d5a
11 changed files with 201 additions and 14 deletions
+11 -4
View File
@@ -1,5 +1,5 @@
{
"version": 2,
"version": 3,
"http_listen": "0.0.0.0:80",
"https_listen": "0.0.0.0:443",
"https_port": 443,
@@ -30,6 +30,10 @@
"Remote-Name"
]
},
"device_certs": {
"ca": "/var/lib/ianitor/certs/domi-devices-ca.pem",
"allow": "/var/lib/ianitor/certs/domi-devices.pem"
},
"hosts": [
{
"hostname": "photos.example.org",
@@ -83,7 +87,8 @@
"interval_secs": 15
},
"access_log": true,
"share_links": false
"share_links": false,
"device_certs": false
},
{
"hostname": "status.example.org",
@@ -103,7 +108,8 @@
"response_headers": [],
"health_check": null,
"access_log": false,
"share_links": false
"share_links": false,
"device_certs": true
},
{
"hostname": "wiki.home.test",
@@ -134,7 +140,8 @@
"response_headers": [],
"health_check": null,
"access_log": false,
"share_links": false
"share_links": false,
"device_certs": false
}
]
}