Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dkovalev1
Copy link

SSL renegotiation is considered insecure and vulnerable and was eliminated in
TLS v1.3.

However, when using older clients, we want to ensure that renegotiation is not
used, so we explicitly disable it whenever possible.

This commit removes SSL renegotiation setup from gpfdist.

Additionally, disabling SSL renegotiation in this commit resolves an issue with
TLS v1.2, specifically an incompatibility between OpenSSL 1.0.2k and GnuTLS
during server-initiated renegotiation.

Testing this incompatibility requires a non-trivial setup, involving gpfdist
built with OpenSSL 1.0.2k and a client (ADB or curl) built with GnuTLS. Since
this setup is not achievable using the current build and test system, only
manual setup and testing are possible.

@dkovalev1 dkovalev1 merged commit 6760ae0 into adb-6.x-dev May 13, 2025
5 checks passed
@dkovalev1 dkovalev1 deleted the ADBDEV-7188 branch May 13, 2025 10:30
@Stolb27 Stolb27 mentioned this pull request May 15, 2025
whitehawk pushed a commit that referenced this pull request Jun 29, 2025
SSL renegotiation is considered insecure and vulnerable and was eliminated in
TLS v1.3.

However, when using older clients, we want to ensure that renegotiation is not
used, so we explicitly disable it whenever possible.

This commit removes SSL renegotiation setup from gpfdist.

Additionally, disabling SSL renegotiation in this commit resolves an issue with
TLS v1.2, specifically an incompatibility between OpenSSL 1.0.2k and GnuTLS
during server-initiated renegotiation.

Testing this incompatibility requires a non-trivial setup, involving gpfdist
built with OpenSSL 1.0.2k and a client (ADB or curl) built with GnuTLS. Since
this setup is not achievable using the current build and test system, only
manual setup and testing are possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants