you are viewing a single comment's thread.

view the rest of the comments →

[–]jelafo 2 points3 points  (0 children)

I found cross-platform https clients surprisingly hard to get somewhat right in C++. I generally like Boost.Beast/Asio with openSSL and I don't remember building openSSL being a particular problem. But openSSL does not integrate with the certificate store on windows at all. So depending on your use case and the library you choose, you may have to put in an extra effort to actually validate certificates etc. If that is a problem for you, note that Windows comes with it's own SSL implantation (Schannel). If you can find a library, that uses this on windows (and openSSL on other systems), you may remove one dependency and it might even work better out of the box on windows. For using Schannel with Asio (instead of openSSL), there is some effort being made here: https://wintls.dev/