[edge] Device certificates: mTLS on hosts with device_certs only (asked per SNI), chain to the Domi CA bundle and the allow list in the handshake, checked again per request; 403 without one

This commit is contained in:
2026-11-07 22:49:32 +01:00
parent 4054427b62
commit 3d8f524d00
5 changed files with 265 additions and 4 deletions
+1
View File
@@ -126,6 +126,7 @@ pub fn server(shared: Arc<Shared>, opts: &Options) -> Result<Server, EdgeError>
reason: e.to_string(),
})?;
tls.set_cert_resolver(shared.certs.clone());
tls.set_client_cert_verifier(shared.devices.clone());
tls.enable_h2();
https.add_tls_with_settings(&rt.cfg.https_listen, None, tls);