'WinHttp library requesting TLS 1.2 support only, remote system denying SSL3 connection
My code requests only TLS 1.2 secure protocol use but for some reason the remote is receiving an SSL 3.0 handshake according to the wireshark trace. The remote host denies the connection because TLS 1.2 is required by the server.
DWORD dwOption = WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2;
if (!WinHttpSetOption(g_hSession,WINHTTP_OPTION_SECURE_PROTOCOLS,&dwOption,sizeof(dwOption))) {
//handle error
}
We have all the SCHANNEL setting in the registry set to only allow TLS 1.2 connections. What else can I look at?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
