-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Consul backend with TLS: Bad Certificate #4930
Comments
The Consul logs will likely have a more detailed explanation of the problem. |
Good monring thanks for the advise, I tried to execute consul in "trace mode" but I'm not able to see anything wrong:
|
Sorry for the delay, I was on holiday. I've been able to discover the issue, I had a typo in my config file:
I doubled the property tls_cert_file without set tls_cert_file . I think this behaviour could be "handled" by the application and show a warning message when you put a certificate without key. |
Good monring, I'm trying to setup a cluster of vault (v0.10.3) using consul as backend. In this setup I have 2 tipes of consul, 1 node is the server and the other are members of this consul client. When I tried to run vault in the client node I saw this error message:
This error didn't happen on the consul server. In the next line I pasted the output of run consul members to show the state of my cluster.
I generated the SSL certificates using cfssl and cfssljson in my ansible playbook:
If I inspect with openssl the certificates I'm able to see all de alternetivenames that I provided.
Server certificate:
Client certificate:
Reproduction Steps
Steps to reproduce this issue, eg:
Client configuration:
Server configuration:
Server config:
Client config:
/usr/bin/vault server -config=/opt/vault/conf
Log Fragments
After run vault in the client node I saw this logs:
May be I need some other SAN or flag in the certificate? I spend few hours reviewing your documentation for my alls seems good, but It don't start. Could you help me with this issue?
The text was updated successfully, but these errors were encountered: