[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:
@@ -17,6 +17,11 @@
|
||||
mod caddy;
|
||||
mod edge;
|
||||
|
||||
/// In the certificate directory: the CA bundle for device certificates (written by control).
|
||||
pub const DEVICE_CA_FILE: &str = "domi-devices-ca.pem";
|
||||
/// In the certificate directory: every allowed (issued, not revoked) device certificate.
|
||||
pub const DEVICE_ALLOW_FILE: &str = "domi-devices.pem";
|
||||
|
||||
use std::net::SocketAddr;
|
||||
|
||||
use crate::Model;
|
||||
|
||||
Reference in New Issue
Block a user