How to make tls 1.x use wininet

I use the wininet library in my application, after it turned out that sslv3 loooves poodle, some websites turned it off, and my application does not work on any PC if the user did not install it in the Internet settings in Windows to use TLS 1 X. Does anyone know a way to force wininet to use tls 1.x connection?

+5
source share
1 answer

Wininet uses schannel.dll for SSL / TLS communications and automatically negotiates TLS if the server side offers TLS. You have nothing to do.

I must add that TLS support is dependent on the version of Windows. For the latest TLS support, the minimum versions of Windows are Win 7 and Win 2008 R2.

More details: http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx

+5
source

Source: https://habr.com/ru/post/1205558/


All Articles