Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help: TLS Certificates #296

Open
kartuhn opened this issue Jun 2, 2022 · 1 comment
Open

Help: TLS Certificates #296

kartuhn opened this issue Jun 2, 2022 · 1 comment

Comments

@kartuhn
Copy link

kartuhn commented Jun 2, 2022

Can someone please walk me through the process of enabling TLS communications using this role? I tried enabling it, but I am still missing something and the main config file has http connections instead of https.

Thanks in advance for the help.

@Mandorath
Copy link

After I added the following variable to my variable file for vault it enabled TLS:

vault_tls_disable: false
Make sure you have certificates ready and the API check uses the ip-address to check for reachability. So generate your certs with that in mind. If you are using self-signed certs make sure the CA is trusted on the target node. I also changed the vault_api_addr variable to:

vault_api_addr: "{{ vault_protocol }}://{{ ansible_fqdn }}:{{ vault_port }}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants