How to set up ACE for HashiCorp Vault
Article Number: 000020724
Environment
Make sure you have a valid CA certificate;
And a Fully Qualified Domain Name (FQDN)
Resolution
- First, we need to log into the Rancher UI.
- Next, navigate to the desired cluster and select "Edit Config."
- Next, select "Authorized Endpoint."
- Before moving forward, you must connect to your Kubernetes master node.
- From there, you will have to cd into /etc/kubernetes/ssl, copy kube-ca.pem file, navigate to the Rancher UI, and paste in the CA Certificate field.
- Next, verify the kube-ca.pem file.
- We won't be able to see the Network Load Balancer address
-
Run this command to get the contents of your certificate:
- openssl x509 -in kube-apiserver.pem -noout -text
- Next, we need to add our ELB to our certificate, so select "Edit as YAML"
- Then click save
- Next, verify the kube-ca.pem file.
- Next, copy the ./kube/config file in the Rancher UI.
- Finally, we need to edit the last line (current-context: "xxx-fqdn")
- Then click save