Frage

I have 2 questions:

Q1 : Does anyone know a good C++ library to perform requests towards a HTTPS server?

Note that the SSL certificate on the server will be provided by a certificate autority like VeriSign.

Q2 : So, could I embedded the root certificate of the CA in my C++ application so that it will be automatically used by the library? I don't want the user to add it manually in its operating system.

Thanks for your advices.

War es hilfreich?

Lösung

would both be able to use openssl. You can make it use CA certs provided by your application. I don't think it is easy to use embedded resources

Andere Tipps

I guess libcurl is one of the better known networking libraries out there. In my experience being written in C (with all the wheel reinventing that that brings) it has proven to be crash-prone at times and doesn't have the nicest of APIs. That said though, it's used in a ton of places, is relatively easy to get to grips with, and supports just about everything you could ever need.

ON WIndows,There is a small library, or rather just a small set of c++ headrs:http://www.codeproject.com/Articles/66625/A-Fully-Featured-Windows-HTTP-Wrapper-in-C

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top