TLS 1.3 support using SChannel in Windows 11 without Curl lib
Hello,
I'm working on a TLS client application that needs to be upgraded to use TLS 1.3 in Windows-11.
Has anyone successfully implemented TLS 1.3 using SChannel APIs?
As per Microsoft below link TLS 1.3 is supported in win-11 & server-2022
https://learn.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp-
We used the SCH_CREDENTIALS structure instead of the SCHANNEL_CRED structure with AcquireCredentialsHandle() and it passed, and with this change we are not getting any error but when connection is about to established, connect gets dropped. We tried doing multiple change we could not find the appropriate fix.
Could anyone please help us to understand whether Windows-11 (all build version) support TLS 1.3 using SChannel or not.
We are testing in below build version of windows.
Windows version tested with: windows 11 21h2 os build 22000.675
Tried the below change to fix the same:
Registry Change: as suggested below link: https://stackoverflow.com/questions/56072561/how-to-enable-tls-1-3-in-windows-10
Any suggestion or a small sample of C++ code snipped is well appreciated, as well as any advice which may help me to understand what is wrong with the client.
Thank you
Regards: Ajay