Skip to content

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

  1. First, we need to log into the Rancher UI.
  2. Next, navigate to the desired cluster and select "Edit Config."
  3. Next, select "Authorized Endpoint."
  4. Before moving forward, you must connect to your Kubernetes master node.
  5. 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.
  6. Next, verify the kube-ca.pem file.
  7. We won't be able to see the Network Load Balancer address
  8. 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