From: Benjamin W. <we...@tr...> - 2011-03-25 15:51:27
|
Hi all, first I want to thank you for the great work you did writing this library! It really helps me a lot! I have been working on integrating openssl and writing an own minimalistic dummy-HTTP-client when I discovered this awesome projekt just in time. I work on a cross-platform library and that library has to communicate with one specific HTTPS server. To authenticate the server, we receive (in advance) an X509-certificate to build into our software. I would like to ask you if it is possible to load one or more specific CA-certificates for a HTTPS client connection (doesn't matter if from file or from memory). I've already had a look at the source code and saw that the method "https_sync_connection" takes a string-argument "certificate_filename", but I saw no way to pass such a filename at the high-level-api. Is this parameter solely used to load system-default CA-certificates? If not, could you please explain to me how I can load a certificate from file or memory? Thank you very much in advance and good luck with this project! Greetings from Switzerland, Benjamin Weibel |