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

Use OutgoingTLSWrapper for HTTP checks #1156

Closed
coderanger opened this issue Aug 4, 2015 · 4 comments
Closed

Use OutgoingTLSWrapper for HTTP checks #1156

coderanger opened this issue Aug 4, 2015 · 4 comments
Labels
theme/health-checks Health Check functionality type/enhancement Proposed improvement or new feature

Comments

@coderanger
Copy link

Would be nice to (optionally?) support the same TLS verification logic for HTTPS service checks as is used for other TLS connections. Specifically this comes up when using either an IP or localhost for a service check, but the certificate has some real public hostname on it.

@ryanuber
Copy link
Member

Agreed, having the option to require verification or not would be a useful feature. Tagged as an enhancement!

@ryanuber ryanuber added the type/enhancement Proposed improvement or new feature label Aug 11, 2015
@jlandure
Copy link

👍

@cvvs
Copy link

cvvs commented Jun 9, 2016

I have a similar problem, but we have to validate certs created with our private CA which is a little different. However, because it was rather trivial to reuse the verify_outgoing config option to enable or disable TLS validation for the http check, even through it doesn't quite match up.

I'm running a slightly different version of this in a test environment at the moment, and plan to test this exact version as soon as I fix the NPE it creates.
https://github.com/cvvs/consul/commit/d46bca94e4b0237cae261e515065ae5dd0fdc40e

@slackpad slackpad added the theme/health-checks Health Check functionality label May 25, 2017
@slackpad
Copy link
Contributor

slackpad commented Jan 5, 2018

I think #3364 gets pretty close to this (and checks can skip verify as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/health-checks Health Check functionality type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

5 participants