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

SNI: Alert if returned certificate does not contain requested SNI hostname #251

Open
chas0rde opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@chas0rde
Copy link

We started implementing x509 module to get a better overview on our certificates
We found that the certificate still shows as valid even if the certificate is misconfigured and the returned certificate does not match the SNI

Image

It seems only expiry is validated but not if the certificate is valid for the SNI
This would be very helpful to not only monitor for expiry but also misconfigurations
Currently we plan to implement workarounds via Director Automations to do transforms and have a check applied that does an OpenSSL check for the validity but that would be an additional unnecessary connect to the monitored host that could already be evaluated by the x509 module

Best regards

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

1 participant