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
Alternatively, it would be acceptable even disabling the certificate verification only for the HTTPRoutes regarding MinIO (not at a Gateway level).
But this, too, I don't know how to achieve.
was the answer to my problem, because the MinIO certificate was issued by the Kubernetes cluster's internal CA, whose certificate resides inside well-known kube-root-ca.crt ConfigMap.
And maybe someone else's, too: I hope that, by leaving this piece of YAML here, it could be of help.
I suggest, however, to put an example of usage of bothwellKnowCaCertificates and the internal Kubernetes CA into the documentation.
Description:
I am still unable to build an effective BackendTLSPolicy, my last tentative has been
Log excerpt:
[2024-11-22 17:57:10.483][13][debug][http] [source/common/http/conn_manager_impl.cc:393] [Tags: "ConnectionId":"34813"] new stream
[2024-11-22 17:57:10.483][13][debug][http] [source/common/http/conn_manager_impl.cc:1183] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] request headers complete (end_stream=true):
':method', 'GET'
':authority', 'minio-dev.farmhub.nadara.com'
':scheme', 'https'
':path', '/'
'pragma', 'no-cache'
'cache-control', 'no-cache'
'sec-ch-ua', '"Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"'
'sec-ch-ua-mobile', '?0'
'sec-ch-ua-platform', '"macOS"'
'upgrade-insecure-requests', '1'
'user-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
'accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7'
'sec-fetch-site', 'none'
'sec-fetch-mode', 'navigate'
'sec-fetch-user', '?1'
'sec-fetch-dest', 'document'
'accept-encoding', 'gzip, deflate, br, zstd'
'accept-language', 'en-US,en;q=0.9'
'priority', 'u=0, i'
[2024-11-22 17:57:10.483][13][debug][http] [source/common/http/conn_manager_impl.cc:1166] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] request end stream timestamp recorded
[2024-11-22 17:57:10.483][13][debug][connection] [./source/common/network/connection_impl.h:98] [Tags: "ConnectionId":"34813"] current connecting state: false
[2024-11-22 17:57:10.483][13][debug][router] [source/common/router/router.cc:527] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] cluster 'httproute/minio-dev/minio-console-route/rule/0' match for URL '/'
[2024-11-22 17:57:10.483][13][debug][router] [source/common/router/router.cc:756] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] router decoding headers:
':method', 'GET'
':authority', 'minio-dev.farmhub.nadara.com'
':scheme', 'https'
':path', '/'
'pragma', 'no-cache'
'cache-control', 'no-cache'
'sec-ch-ua', '"Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"'
'sec-ch-ua-mobile', '?0'
'sec-ch-ua-platform', '"macOS"'
'upgrade-insecure-requests', '1'
'user-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
'accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7'
'sec-fetch-site', 'none'
'sec-fetch-mode', 'navigate'
'sec-fetch-user', '?1'
'sec-fetch-dest', 'document'
'accept-encoding', 'gzip, deflate, br, zstd'
'accept-language', 'en-US,en;q=0.9'
'priority', 'u=0, i'
'x-forwarded-for', '10.100.244.222'
'x-forwarded-proto', 'https'
'x-envoy-internal', 'true'
'x-request-id', '957eb903-4f91-4046-8885-0aa453422948'
[2024-11-22 17:57:10.483][13][debug][pool] [source/common/http/conn_pool_base.cc:78] queueing stream due to no available connections (ready=0 busy=0 connecting=0)
[2024-11-22 17:57:10.483][13][debug][pool] [source/common/conn_pool/conn_pool_base.cc:291] trying to create new connection
[2024-11-22 17:57:10.483][13][debug][pool] [source/common/conn_pool/conn_pool_base.cc:145] creating a new connection (connecting=0)
[2024-11-22 17:57:10.483][13][debug][connection] [./source/common/network/connection_impl.h:98] [Tags: "ConnectionId":"34949"] current connecting state: true
[2024-11-22 17:57:10.483][13][debug][client] [source/common/http/codec_client.cc:57] [Tags: "ConnectionId":"34949"] connecting
[2024-11-22 17:57:10.483][13][debug][connection] [source/common/network/connection_impl.cc:1017] [Tags: "ConnectionId":"34949"] connecting to 10.0.29.88:9443
[2024-11-22 17:57:10.484][13][debug][connection] [source/common/network/connection_impl.cc:1036] [Tags: "ConnectionId":"34949"] connection in progress
[2024-11-22 17:57:10.495][13][debug][connection] [source/common/network/connection_impl.cc:746] [Tags: "ConnectionId":"34949"] connected
[2024-11-22 17:57:10.496][13][debug][connection] [source/common/tls/cert_validator/default_validator.cc:321] verify cert failed: X509_verify_cert: certificate verification error at depth 0: unable to get local issuer certificate
[2024-11-22 17:57:10.496][13][debug][connection] [source/common/tls/ssl_socket.cc:246] [Tags: "ConnectionId":"34949"] remote address:10.0.29.88:9443,TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end
[2024-11-22 17:57:10.496][13][debug][connection] [source/common/network/connection_impl.cc:276] [Tags: "ConnectionId":"34949"] closing socket: 0
[2024-11-22 17:57:10.496][13][debug][client] [source/common/http/codec_client.cc:107] [Tags: "ConnectionId":"34949"] disconnect. resetting 0 pending requests
[2024-11-22 17:57:10.496][13][debug][pool] [source/common/conn_pool/conn_pool_base.cc:495] [Tags: "ConnectionId":"34949"] client disconnected, failure reason: TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end
[2024-11-22 17:57:10.496][13][debug][router] [source/common/router/router.cc:1384] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] upstream reset: reset reason: remote connection failure, transport failure reason: TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end
[2024-11-22 17:57:10.497][13][debug][http] [source/common/http/filter_manager.cc:1084] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] Sending local reply with details upstream_reset_before_response_started{remote_connection_failure|TLS_error:|268435581:SSL_routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end}
[2024-11-22 17:57:10.497][13][debug][http] [source/common/http/conn_manager_impl.cc:1878] [Tags: "ConnectionId":"34813","StreamId":"4010610485661447579"] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '216'
'content-type', 'text/plain'
'date', 'Fri, 22 Nov 2024 17:57:10 GMT'
The text was updated successfully, but these errors were encountered: