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

Unable to use Vault as a CA provider in Consul 1.8.0 #8448

Closed
ashwinkupatkar opened this issue Aug 6, 2020 · 2 comments
Closed

Unable to use Vault as a CA provider in Consul 1.8.0 #8448

ashwinkupatkar opened this issue Aug 6, 2020 · 2 comments
Labels
theme/consul-vault Relating to Consul & Vault interactions type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp

Comments

@ashwinkupatkar
Copy link

I am trying to setup vault as a CA provider in my consul connect setup.
But it does not take the configuration specified for vault as a CA provider.

It goes by the default consul as a CA provider neither does it show any error messages in the consul server logs.

connect configuration:

"connect": {
"enabled": true
"ca_provider": "vault"
"ca_config": {
"address": "<vault_address>"
"token": "<vault_root_token_for_demo>"
"root_pki_path": "/consul-connect-demo-root"
"intermediate_pki_path": "/consul-connect-demo-intermediate"
"TLSSkipVerify": "true"
}
},

log snippet:

2020-08-06T18:18:48.158Z [INFO]  agent.server.connect: initialized primary datacenter CA with provider: provider=consul
2020-08-06T18:18:48.158Z [INFO]  agent.leader: started routine: routine="federation state anti-entropy"
2020-08-06T18:18:48.158Z [INFO]  agent.leader: started routine: routine="federation state pruning"
2020-08-06T18:18:48.158Z [INFO]  agent.leader: started routine: routine="CA root pruning"

Operating system: centos 7

Consul version: 1.8.0
Vault version : 0.10.4

What am I missing ?

Regards,
Ashwin

@jsosulska jsosulska added theme/consul-vault Relating to Consul & Vault interactions type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp labels Aug 6, 2020
@jsosulska
Copy link
Contributor

Hi @ashwinkupatkar ,

Thanks for posting. A question like this is better suited for our Discuss Forums, where users can better troubleshoot that for you.

I moved the content there and have asked some additional questions.

Thank you,
Jono

@ashwinkupatkar
Copy link
Author

Sure. Thanks @jsosulska .

I will update there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/consul-vault Relating to Consul & Vault interactions type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp
Projects
None yet
Development

No branches or pull requests

2 participants