aboutsummaryrefslogtreecommitdiff
path: root/gen_pki
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 16:58:09 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 16:58:50 +0200
commita0c8280c02855fa2731d3f89df1dec0ae9627990 (patch)
treec88265369066c5f1683bca4bef767561e9c96ef5 /gen_pki
parentfe1f261738d9ef4cf4ee05b67820b201821bf31c (diff)
downloadnixcfg-a0c8280c02855fa2731d3f89df1dec0ae9627990.tar.gz
nixcfg-a0c8280c02855fa2731d3f89df1dec0ae9627990.zip
Fix access to consul for non-server nodes
Diffstat (limited to 'gen_pki')
-rwxr-xr-xgen_pki2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_pki b/gen_pki
index c06865b..ad867fb 100755
--- a/gen_pki
+++ b/gen_pki
@@ -59,7 +59,7 @@ subjectAltName = @alt_names
[alt_names]
DNS.1 = server.$CLUSTER.$APP
DNS.2 = client.$CLUSTER.$APP
-DNS.3 = $APP.service.$CLUSTER.$APP
+DNS.3 = $APP.service.$CLUSTER.consul
DNS.4 = localhost
DNS.5 = 127.0.0.1
EOF