-
-
Notifications
You must be signed in to change notification settings - Fork 629
feat: support new tls.ca-file field #1124
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
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
| tls: | ||
| certificate-file: /path/to/user_cert.pem | ||
| private-key-file: /path/to/user_key.pem | ||
| ca-file: /path/to/root-ca.pem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you specify in the table that ca-file is optional for non-self-signed certificate authorities, and a similar comment in the yaml example next to ca-file: /path/to/root-ca.pem?
For verbosity, I want devs to keep their configuration as simple as possible, and by adding these comments, I hope it'll make it more clear that this isn't required unless it's an unrecognized/self-signed CA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the readme with the comment next to the yaml example & the table. does this looks good to you?
|
👍 @TwiN , please accept this PR—this feature is urgently needed. |
Summary
We have a use case where we want to monitor self-signed cert served from MTLS endpoint. Currently, Gatus will show error
tls: failed to verify certificate: x509: certificate signed by unknown authorityWith this change, I'm able to specify my own CA and the check is passing.
Checklist
README.md, if applicable.