I really think that for most users it will be fine this way as it has been
for 5 years, and for me that justifies not trying to go too far for the short
term.
Fair enough, but don't forget that for the last 5 years folks have just
been setting verify none in all the tutorials lol!
--
Kevin
On 2017-07-28 3:26 PM, Willy Tarreau wrote:
On Fri, Jul 28, 2017 at 03:11:20PM -0700, Kevin McArthur wrote:
More flexibility in deployment is usually a good thing so long as they have
sane defaults. Its certainly fine to say that one has to setup an internal
ca to get a secured check. Its just more moving parts.
Which is also more difficulty in troubleshooting sessions (ie: bisection
needed to find what causes this or that issue).
Ah my bad here. I was running off the patches from the mailing list and not
what you added to master. Rebuilding makes the new verifyhost behavior work
as above. The ML patchset doesn't do this which is where the disconnect is.
Ah cool!
You can do the same (except sending the SNI with the check) using this
today :
server app2 internal.app2.example.ca:443 ssl verify required verifyhost
app2.example.ca sni ssl_fc_sni ca-file /etc/ssl/certs/ca-certificates.crt check
check-ssl
Being able to send the SNI would be nice... ;)
I agree and I think that's the missing part. But I also think we *may*
have a solution by using a converter transforming an empty sample into
a string (I need to experiment a bit on this). We could for example have
"sni ssl_fc_sni,default(blah)". We know we need this at other places, and
if that can work here, it might be an interestin alternative solution as
well. But I agree in general that being able to set the SNI for health
checks would be better. It just ranks at a much lower priority than the
stuff that can be done in the same timeframe at the moment. Seeing the
little visible progress made on HTTP/2 over the last few weeks worries
me a bit for the upcoming release...
(...)
Need not be complex if the defaults are the same as not implementing them.
Just helps make some internal architectures easier to deploy securely.
I'm generally fine with adding more features but once there's a real
confirmed need for these. Keep in mind that the doc is already huge due
to the vast amount of keywords and options we support and that often
even when you know you can do something, it becomes hard to find it.
Keeping the focus on the important stuff is important.
That
said, this doesn't block me as I'll just happily verifyhost against a public
cert as a default and 'trick' haproxy that way even though its connecting to
an internal server. So its not critical.
I really think that for most users it will be fine this way as it has been
for 5 years, and for me that justifies not trying to go too far for the short
term.
Thanks!
Willy