On Mon, Dec 5, 2011 at 7:35 AM,  <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.
https://groups.google.com/group/mailing.openssl.users/browse_thread/thread/da5110e4d45e6cf8
https://groups.google.com/group/mailing.openssl.users/browse_thread/thread/0066618e7a8cbef1

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to