You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== NAME TestGatewayConformance/HTTPRouteRedirectPortAndScheme/https-listener-on-443/1_request_to_'/scheme-nil-and-port-443'_should_receive_a_302
tls.go:52: Request failed, not ready yet: Get "https://172.18.255.202/scheme-nil-and-port-443": tls: failed to verify certificate: x509: certificate is valid for *, not example.org (after 29.114248881s)
What you expected to happen:
The tests to make requests with a coherent Host and SNI and have cert fixtures with the correct SAN content
How to reproduce it (as minimally and precisely as possible):
Found while running v0.7.0 conformance tests against Contour main
Anything else we need to know?:
N/A for now
The text was updated successfully, but these errors were encountered:
Tests expected redirect host was not consistent with request host,
were sending HTTPS requests send inconsistent SNI and Host, cert
presented by Gateway did not have the correct SANs.
Fixeskubernetes-sigs#2038
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
What happened:
This block of tests makes requests with inconsistent SNI and Host specifications:
gateway-api/conformance/tests/httproute-redirect-port-and-scheme.go
Lines 214 to 301 in ef48937
From Envoy debug logs when running these tests against Contour:
Note the requested server name
example
and request:authority
of the Gateway IPThe requested server name does not match the returned redirect hostname that the tests expect (
example.org
)The cert configured on the Gateway also is not valid for
example.org
(needs to have*.org
orexample.org
in the SANs for the generated cert):gateway-api/conformance/utils/suite/suite.go
Line 158 in ef48937
What you expected to happen:
The tests to make requests with a coherent Host and SNI and have cert fixtures with the correct SAN content
How to reproduce it (as minimally and precisely as possible):
Found while running v0.7.0 conformance tests against Contour
main
Anything else we need to know?:
N/A for now
The text was updated successfully, but these errors were encountered: