aboutsummaryrefslogtreecommitdiff
path: root/deploy_pki
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 17:31:08 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 17:31:08 +0200
commitcfb1d623d9711156a1195312afa5cebadc8a6697 (patch)
tree78acc1e564d2e0e053f9be21ac5b0ec29f48048e /deploy_pki
parenta0c8280c02855fa2731d3f89df1dec0ae9627990 (diff)
downloadnixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.tar.gz
nixcfg-cfb1d623d9711156a1195312afa5cebadc8a6697.zip
Reconfigure services to use correct tricot url, TLS fails
Diffstat (limited to 'deploy_pki')
-rwxr-xr-xdeploy_pki1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy_pki b/deploy_pki
index 167ac50..cb39bec 100755
--- a/deploy_pki
+++ b/deploy_pki
@@ -34,5 +34,6 @@ set_env CONSUL_CLIENT_CERT=/var/lib/consul/pki/consul$YEAR-client.crt
set_env CONSUL_CLIENT_KEY=/var/lib/consul/pki/consul$YEAR-client.key
cmd "consul kv put secrets/consul/consul-ca.crt - < /var/lib/consul/pki/consul-ca.crt"
+cmd "consul kv put secrets/consul/consul.crt - < /var/lib/consul/pki/consul$YEAR.crt"
cmd "consul kv put secrets/consul/consul-client.crt - < /var/lib/consul/pki/consul$YEAR-client.crt"
cmd "consul kv put secrets/consul/consul-client.key - < /var/lib/consul/pki/consul$YEAR-client.key"