Repository navigation
Add a new command line arg to enforce tls1.2 - #7987
akallabeth merged 5 commits into
Conversation
|
Can one of the admins verify this patch? |
|
For the changes in settings.h, just change the |
akallabeth
left a comment
There was a problem hiding this comment.
LGTM,
except running
./tools/update-rdpSettings
./tools/update-rdpSettings
git clang-format -f
git commit . -m"updated rdpSettings for tls1.2"
(and maybe use the freerdp_settings_get_bool and freerdp_settings_set_bool instead of direct access to the rdpSettings variable
|
@sivagudivadaz ok, I´ve done the changes required, I´m force pushing to your branch, just you know ;) |
Oh ok 👍, I was just about to make those changes and push too, but if you are ready already go ahead. Sorry about missing the clang formatting though, will keep that in mind next time. |
|
@freerdp-bot test |
|
Refer to this link for build results (access rights to CI server needed): |
|
@sivagudivadaz thank you for investigating (and fixing) this. |
|
@thenextman maybe this is the same issue we've been facing with a few customers? |
backported FreeRDP#7987
I'm facing a TLS_CONNECT_ERROR issue where a customer has both TLS1.3 and TLS1.2 enabled on their windows 2019 server - which I believe has experimental support for TLS1.3. And because the server doesn't have full TLS1.3 support, calling TLS_client_method in tls.c - which negotiates the highest available TLS version, fails to establish a proper connection as the server sends back a RST after ClientHello.
Note that this is not an issue with Windows 2022 server - which has full support for TLS1.3. With both TLS1.2 and TLS1.3 enabled on a win 2022 server, FreeRDP can connect just fine to the target VM.
This PR adds a new command line argument to enforce TLS1.2 that is set through our application that consumes FreeRDP.
Please advice if there is a less intrusive way to enforce TLS1.2 during the initial TLS handshake.