[control] Domi CA and UI sign-in: intermediate renewal by CSR with manual offline signing, domi host certificates, device requests approved by code, one-time PKCS#12 installs, revocation; Remote-User trusted only with edge's per-boot proof
This commit is contained in:
@@ -235,6 +235,10 @@ async fn handle(shared: Arc<Shared>, req: Request<Incoming>) -> Resp {
|
||||
}
|
||||
}
|
||||
("POST", "/v1/abort") => reply(StatusCode::OK, json!({ "reverted": shared.abort() })),
|
||||
("POST", "/v1/device-certs/reload") => match shared.reload_device_trust() {
|
||||
Ok(n) => reply(StatusCode::OK, json!({ "reloaded": true, "allowed": n })),
|
||||
Err(e) => error(StatusCode::UNPROCESSABLE_ENTITY, e),
|
||||
},
|
||||
("POST", "/v1/share-revocations/reload") => match shared.reload_revocations() {
|
||||
Ok(()) => {
|
||||
let r = shared.revocations();
|
||||
|
||||
Reference in New Issue
Block a user