Skip to content

How to set up ACE for HashiCorp Vault

This document (000020724) is provided subject to the disclaimer at the end of this document.

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
  9. Next, we need to add our ELB to our certificate, so select "Edit as YAML"
  10. Then click save
  11. Next, verify the kube-ca.pem file.
  12. Next, copy the . /kube/config file in the Rancher UI.
  13. Finally, we need to edit the last line (current-context: "xxx-fqdn")
  14. Then click save

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.