aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 16:53:02 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-08-24 16:53:02 +0200
commitfe1f261738d9ef4cf4ee05b67820b201821bf31c (patch)
tree6493976e6866bd74077f2e8c6f172436ebd0397a
parent6ea18bf8aec02e8d48dea48b98900cdfa2349f2d (diff)
downloadnixcfg-fe1f261738d9ef4cf4ee05b67820b201821bf31c.tar.gz
nixcfg-fe1f261738d9ef4cf4ee05b67820b201821bf31c.zip
Add another DNS to the pki
-rwxr-xr-xgen_pki5
1 files changed, 3 insertions, 2 deletions
diff --git a/gen_pki b/gen_pki
index 57da699..c06865b 100755
--- a/gen_pki
+++ b/gen_pki
@@ -59,8 +59,9 @@ subjectAltName = @alt_names
[alt_names]
DNS.1 = server.$CLUSTER.$APP
DNS.2 = client.$CLUSTER.$APP
-DNS.3 = localhost
-DNS.4 = 127.0.0.1
+DNS.3 = $APP.service.$CLUSTER.$APP
+DNS.4 = localhost
+DNS.5 = 127.0.0.1
EOF
) \
-CA <(pass $PREFIX/$APP-ca.crt) \