On Fri, Dec 2, 2011 at 1:55 PM, <hamid.sha...@sungard.com> wrote: > Hi, > > I am trying to make a simple C++ (64-bit) client program that can establish > a SSL connection with a remote server using OpenSSL on windows-7. I can > successfully execute the followings to create a new context block; > > SSL_library_init(); > SSL_load_error_strings(); > meth=SSLv23_client_method(); > ctx=SSL_CTX_new(meth); > > However, when I try to read the certificate files with > SSL_CTX_use_certificate_file, I get errors the funcion returns “3”. I tried > to search on google and in different forums but was not able to find the > exact problem. Please have a look on the attached sample program along with > the certifcates, and let me know if I am doing something wrong. "3" is ERROR_PATH_NOT_FOUND (http://msdn.microsoft.com/en-us/library/cc231199%28v=prot.10%29.aspx).
Jeff ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org