Updated consul docu

This commit is contained in:
marc
2026-03-22 18:55:04 +01:00
parent c64186fad8
commit dbd7c5db8c

View File

@@ -8,8 +8,11 @@ agenix -i ~/.ssh/id_reykjavik -d consul.d/consul-agent-ca-key.pem.age > ~/tmp/co
#+end_src #+end_src
Create the keypair using consul: Create the keypair using consul:
#+begin_src bash #+begin_src bash
nix-shell -p consul NIXPKGS_ALLOW_UNFREE=1 nix-shell -p consul
consul tls cert create -server -dc samfelag # Server cert
consul tls cert create -server -dc samfelag --ca=/home/marc/tmp/consul-agent-ca.pem --key=/home/marc/tmp/consul-agent-ca-key.pem
# Client cert
consul tls cert create -client -dc samfelag --ca=/home/marc/tmp/consul-agent-ca.pem --key=/home/marc/tmp/consul-agent-ca-key.pem
#+end_src #+end_src
* ACLs * ACLs
** Policies ** Policies