TLS 1.3 support using SChannel in Windows 11 without Curl lib

Ajaykumar Jaiswal 6 Reputation points
2022-05-30T13:24:52.73+00:00

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

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,058 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,413 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,077 questions
{count} votes