When routing requests through Flex Gateway to an HTTPS upstream service, the downstream call reaches the gateway, but the upstream connection fails.
Without an upstream TLS context configured, Flex Gateway logs the following certificate verification failure when communicating with an upstream service using an internal Certificate Authority (CA):
upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: TLS_error:|268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:verify cert failed: X509_verify_cert: certificate verification error at depth 2: self signed certificate in certificate chain:TLS_error_end
After adding an Upstream TLS Context with a Trust Store containing the private CA, the error changes to:
upstream connect error or disconnect/reset before headers. reset reason: remote connection failure
The initial failure occurs because Flex Gateway defaults to the host operating system trust store, which does not trust certificates issued by private internal CAs.
The subsequent remote connection failure occurs because the Outbound TLS Context enforces a minimum TLS version of 1.3, but the upstream service only supports TLS 1.2. The TLS handshake fails immediately due to the protocol version mismatch.
Adjust the Outbound TLS Context configuration to permit TLS 1.2.
1.2.Verify:
Send a request to the Flex Gateway listener endpoint. The gateway successfully negotiates the TLS handshake with the upstream service without returning a remote connection failure.
005462466

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.