Updated consul docu
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user