Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create SSL connection using Winsock [duplicate]

Tags:

c++

c

ssl

I'm on windows 8 and I need to create SSL-connection to the server. We can create plain non-secured connection via built-in winsock API. I'm interesed in if there is a built-in extension for creating SSL connection in winsock? If so, I'd like to look at the code sample.

like image 306
user3663882 Avatar asked Mar 12 '26 16:03

user3663882


1 Answers

Check out this link to Microsoft's Secure Winsock Programming

https://msdn.microsoft.com/en-us/library/windows/desktop/ms740139(v=vs.85).aspx

As it describes you can use Schannel (Secure Channel) Check it out here

https://msdn.microsoft.com/en-us/library/windows/desktop/aa380123(v=vs.85).aspx

like image 197
Web Dev Avatar answered Mar 14 '26 05:03

Web Dev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!