kyra(hardening): step-ca init
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
dd7b0cf681
commit
4b768f6a11
1 changed files with 28 additions and 0 deletions
28
kyra/services/step-ca.nix
Normal file
28
kyra/services/step-ca.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
step-ca = {
|
||||
enable = true;
|
||||
address = "[::]";
|
||||
port = 8443;
|
||||
intermediatePasswordFile = config.sops.secrets."stepPass".path;
|
||||
|
||||
settings = {
|
||||
dnsNames = [
|
||||
"ca.hand7s.org"
|
||||
];
|
||||
|
||||
authority = {
|
||||
provisioners = [
|
||||
{
|
||||
type = "ACME";
|
||||
name = "cloudflare";
|
||||
claims = {
|
||||
enable_dns_01 = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue