diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
commit | b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a (patch) | |
tree | eed1e9e77ec8629aa9d43aadff22ab250759e2ab /genpki.sh | |
parent | f03cafd49b48eabc4743b3a3791fd22f19cb0de1 (diff) | |
download | nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.tar.gz nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.zip |
Config for prod cluster
Diffstat (limited to 'genpki.sh')
-rwxr-xr-x | genpki.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |