pki: add new vault root ca to pki

This commit is contained in:
2026-02-03 04:56:22 +01:00
parent f0525b5c74
commit 7ae474fd3e
8 changed files with 157 additions and 5 deletions

View File

@@ -105,6 +105,17 @@
};
};
# Test ACME certificate issuance from OpenBao PKI
# Override the global ACME server (from system/acme.nix) to use OpenBao instead of step-ca
security.acme.defaults.server = lib.mkForce "https://vault01.home.2rjus.net:8200/v1/pki_int/acme/directory";
# Request a certificate for this host
# Using HTTP-01 challenge with standalone listener on port 80
security.acme.certs."vaulttest01.home.2rjus.net" = {
listenHTTP = ":80";
enableDebugLogs = true;
};
system.stateVersion = "25.11"; # Did you read the comment?
}