Closed devinlyons closed 1 year ago
I have discovered that the backend API is offering the agent certificate instead of the backend certificate. I updated the issue summary to reflect this new information since no one has looked at this issue yet.
It looks like this is the intended behavior and I just got the configuration wrong.
Expected Behavior
The mTLS agent certificate should be used for authentication while the backend certificate should be used for the API.
Current Behavior
I generated an agent certificate and configured the backend as follows:
Now, when I connect to the API over HTTPS or WSS, it fails because the server certificate is incorrect. Specifically, Sensu is offering the
agent-auth-cert-file
as the server certificate. I have verified that the correct certificates are in the correct files.Backend Cert:
Agent Cert:
But when I connect to the API, it offers the agent certificate.
Possible Solution
I believe the mTLS certificate configuration is overwriting the backend certificate configuration.
Steps to Reproduce (for bugs)
Context
I am trying to use the secret delivery system in Sensu and I need mTLS enabled to do that.
Your Environment