-
Notifications
You must be signed in to change notification settings - Fork 270
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
HAProxy not configured correctly for server-alias with SSL #714
Comments
Just checked with v0.11.1 - same problem |
Hi, it seems this is another behavior of having tls rules coupled with http rules, which is the default up to v0.11 and changed in #702 to v0.12 and newer versions. Please check if possible if v0.12 fixes this - note that it's still snapshot, and read the compatibility changes before upgrading. If this fixes this issue I'll try to workaround to at least v0.11 in order to not break backward compatibility. |
Tries to rollout but discovered an issue in HELM chart 0.12.0-alpha.2 (which I assume is the latest). The following error prevents haproxy to comeup:
Checking the generated clusterrole:
appears the Shall I open a bug or do I somth wrong? Update - the git repo lists the class? Which HELM chart is the correct one? |
Finally used the git repo for the HELM chart. The issue remains: the |
Oops, missing a new release of the chart which updates the rbac config - and also the backward compatibility change in the changelog. Thanks for the test, I'll check this shortly. |
Hi, I couldn't reproduce the problem in the latest snapshot, and just realized that the chart isn't updated and you didn't overwrite the controller version. Please check if using |
Hi @jcmoraisjr! Thank for checking. In fact, I was using |
Thanks for confirming, I'll try a non-breaking fix in the v0.11 and older. |
This fix comes with an incompatibility with previous versions, so it's better to leave it only in the v0.12 and newer. I'm also updating the known backward compatibility notes in the changelog. Closing. Thanks @technicalguru for reporting and tests! |
I have the same error despite I use v0.12-snapshot.3. I have asked a question on SO. Could you please take a look? I'm really stuck with this problem. |
Hi, just commented in SO. you need to add the |
Description of the problem
I have an Ingress defined that includes an alias:
But when I ask for
my-domain.com
then the self-signed standard certificate is being used. Checking the certificate onwww.my-domain.com
shows that both Common Names are correct in the certificate. The problem seems to be within the/etc/haproxy/maps/_front_bind_crt.list
file that does not list the server alias:Expected behavior
The correct certificate is pulled by HAProxy.
Steps to reproduce the problem
server-alias
curl -i https://www.my-domain.com
=> Certificate OK, webpage appearscurl -i https://my-domain.com
=> Certificate error shows upEnvironment information
HAProxy Ingress version:
v0.11
Global options:
Ingress objects:
The text was updated successfully, but these errors were encountered: