aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-04 11:15:58 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-04 11:15:58 +0100
commit00811e499bf2485224cb7253878634e1d1ea2ce3 (patch)
tree54412526998cb2525be4a0e1cff866922435c748
parent45c09ff536006fe713e2e08c23d634c641f19428 (diff)
downloadnixcfg-00811e499bf2485224cb7253878634e1d1ea2ce3.tar.gz
nixcfg-00811e499bf2485224cb7253878634e1d1ea2ce3.zip
year 2022
-rw-r--r--configuration.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/configuration.nix b/configuration.nix
index 6fbfb3f..c1fa60e 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -208,8 +208,8 @@ in
retry_join = [ "10.42.0.2" "10.42.0.21" "10.42.0.22" "10.42.0.23" ];
ca_file = "/var/lib/consul/pki/consul-ca.crt";
- cert_file = "/var/lib/consul/pki/consul2021.crt";
- key_file = "/var/lib/consul/pki/consul2021.key";
+ cert_file = "/var/lib/consul/pki/consul2022.crt";
+ key_file = "/var/lib/consul/pki/consul2022.key";
verify_incoming = true;
verify_outgoing = true;
verify_server_hostname = true;
@@ -232,9 +232,9 @@ in
};
consul = {
address = "localhost:8501";
- ca_file = "/var/lib/nomad/pki/consul2021.crt";
- cert_file = "/var/lib/nomad/pki/consul2021-client.crt";
- key_file = "/var/lib/nomad/pki/consul2021-client.key";
+ ca_file = "/var/lib/nomad/pki/consul2022.crt";
+ cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
+ key_file = "/var/lib/nomad/pki/consul2022-client.key";
ssl = true;
};
client = {
@@ -245,8 +245,8 @@ in
http = true;
rpc = true;
ca_file = "/var/lib/nomad/pki/nomad-ca.crt";
- cert_file = "/var/lib/nomad/pki/nomad2021.crt";
- key_file = "/var/lib/nomad/pki/nomad2021.key";
+ cert_file = "/var/lib/nomad/pki/nomad2022.crt";
+ key_file = "/var/lib/nomad/pki/nomad2022.key";
verify_server_hostname = true;
verify_https_client = true;
};