I have a program that use schannel.dll to make a SSL connection to remote server. But I'd like to disconnect from server often and reconnect without the need to renegotiate shared key again. I know that SSL support this, but don't know how to make…
I need to get google OA2.0 access token for service account using JWT and schannel (not openssl - it is working, but I have to use schannel).
Using win10,
Delphi Alexandria 11.3 Patch 1, Indy 10...
Libraries for SChannel:…
I'm trying to implement an SSL handshake in C++ x64 unicode in Windows using winsock, schannel, security etc. Example host is google.com.
I created a SOCKET and could connect via WSAConnectByNameW.
I'm setting my SCHANNEL parameters as…
I'm trying to get the private key of certificates of my Windows Cert Store. I'm doing it with the schannel crate.
let cert_store = schannel::cert_store::CertStore::open_current_user("MY")?;
for cert in cert_store.certs() {
/*
pub enum…
I am looking for a way to enable TLSv1.3 support on a .Net Application running on Windows Server 2012. While I knew .Net relied on the OS for portions of the TLS stack, I didn't realize that this made it so TLSv1.3 was largely unsupported for most…
I have the following cipher suites set trough policy:
As per this list (https://learn.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-server-2022) I had expected the two "unresolved" ciphers to map to 771, TLS1.2.
Any advice…
I'm trying to implement secure sockets in my kernel mode application using Winsock Kernel and Schannel. I'm using this code as a reference to establish the secure connection. However, I encounter a weird issue where the second call to…
I developed a client that calls Rest API with C# (.NET framework 4.8)
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
The server's HTTPS certificate encryption suite uses ECDHE-RSA-AES128-GCM-SHA256.
I want to know which library my…
I'm using the cURLpp library in C++ to download a file from the Internet as follows:
std::string download_file_contents(const std::string& download_url)
{
curlpp::Easy request;
request.setOpt(new curlpp::options::Url(download_url));
…
Is HTTP Server API in Windows OS (https://learn.microsoft.com/en-us/windows/win32/http/http-api-start-page) still maintained. I see it supports only till SSLv3 as mentioned in the link…
A while ago I implemented a client and server using SChannel to encrypt communication. Recently I made the required switch from the SCHANNEL_CRED struct to the SCH_CREDENTIALS one so that TLS 1.3 support is provided in Windows 11. However, I…
How can I request a key update on a TLS v1.3 connection implemented with Win32's SChannel?
In other words, what is the Win32 function that provides similar functionality as SSL_key_update() in OpenSSL?
I did not find any useful information in the…
I have a simple challenge as I'm working on a multi-platform project where I have a server with TLS 1.2 and a client certificate that is required to authenticate any REST API calls. This works fine on Linux, in WSL and in Docker/Linux. But not on…
Does SChannel support TLS 1.3 ? I need help with regard to example client/server programs in C/C++ for implementing TLS 1.3 using SChannel.
I found SChannel.h defines SP_PROT_TLS1_3_CLIENT as 0x00002000, etc.
But the grbitEnabledProtocols field of…