[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user