aboutsummaryrefslogtreecommitdiff
path: root/genpki.sh
diff options
context:
space:
mode:
Diffstat (limited to 'genpki.sh')
-rwxr-xr-xgenpki.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/genpki.sh b/genpki.sh
index 0dd541e..d41d3b8 100755
--- a/genpki.sh
+++ b/genpki.sh
@@ -63,8 +63,8 @@ extendedKeyUsage = serverAuth, clientAuth
subjectAltName = @alt_names
[alt_names]
-DNS.1 = server.staging.$APP
-DNS.2 = client.staging.$APP
+DNS.1 = server.$CLUSTER.$APP
+DNS.2 = client.$CLUSTER.$APP
DNS.3 = localhost
DNS.4 = 127.0.0.1
EOF
@@ -104,7 +104,7 @@ extendedKeyUsage = clientAuth
subjectAltName = @alt_names
[alt_names]
-DNS.1 = client.staging.$APP
+DNS.1 = client.$CLUSTER.$APP
EOF
) \
-CA $APP-ca.crt -CAkey $APP-ca.key -CAcreateserial \