aboutsummaryrefslogtreecommitdiff
path: root/tlsenv.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-04-20 15:29:24 +0200
committerAlex Auvolat <alex@adnab.me>2022-04-20 15:29:24 +0200
commit226fbabf655656f16ca883c8489a2360abdb8367 (patch)
tree2983e42a4cdccc408f2added26d9df21342fdd7a /tlsenv.sh
parent7c1444b7143710066f5173119a529c3b5e101300 (diff)
downloadnixcfg-226fbabf655656f16ca883c8489a2360abdb8367.tar.gz
nixcfg-226fbabf655656f16ca883c8489a2360abdb8367.zip
tlsproxy from pass; fix tls stuff
Diffstat (limited to 'tlsenv.sh')
-rw-r--r--tlsenv.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/tlsenv.sh b/tlsenv.sh
deleted file mode 100644
index 8681e8c..0000000
--- a/tlsenv.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
-YEAR=$(date +%Y)
-
-export NOMAD_ADDR=https://localhost:14646
-export NOMAD_CACERT=$SCRIPT_DIR/secrets/pki/nomad-ca.crt
-export NOMAD_CLIENT_CERT=$SCRIPT_DIR/secrets/pki/nomad$YEAR-client.crt
-export NOMAD_CLIENT_KEY=$SCRIPT_DIR/secrets/pki/nomad$YEAR-client.key
-
-export CONSUL_HTTP_ADDR=https://localhost:8501
-export CONSUL_CACERT=$SCRIPT_DIR/secrets/pki/consul-ca.crt
-export CONSUL_CLIENT_CERT=$SCRIPT_DIR/secrets/pki/consul$YEAR-client.crt
-export CONSUL_CLIENT_KEY=$SCRIPT_DIR/secrets/pki/consul$YEAR-client.key