feat: deploy cloud-only RMM and verify audited APT diagnostics
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-13 13:49:11 +01:00
parent 6c3203d725
commit fbef0e4e2f
48 changed files with 3125 additions and 34 deletions
+3 -2
View File
@@ -648,14 +648,15 @@ async fn enrollment(dir: &Path, address: std::net::SocketAddr, ca: &[u8]) -> Res
.https_only(true)
.tls_built_in_root_certs(false)
.add_root_certificate(reqwest::Certificate::from_pem(ca)?)
.resolve("rmm-dev.internal", address)
.resolve(&https_channel::server_name()?, address)
.no_proxy()
.redirect(reqwest::redirect::Policy::none())
.timeout(Duration::from_secs(15))
.build()?;
let result = client
.post(format!(
"https://rmm-dev.internal:{}/agent/v1/enroll",
"https://{}:{}/agent/v1/enroll",
https_channel::server_name()?,
address.port()
))
.json(&EnrollmentRequest {