Hello ! The following works for me (it's hardcoded however!).
#define certificate_file "/root/security/server.crt" if((SSL_use_certificate_file(m_ssl,certificate_file,1))!=1) //FG: Define SSL certificate to use { cout << "SSL certificate file error - did not open" << endl; } else { cout << "SSL certificate opened successfully" << endl; } Florian Bu Bacoo wrote: > Is it possible to specify instead of filename (char* file) for > SSL_use_certificate_file file with absolute path? Because it doesn't > work for me :-( and in the man page is nothing about 'path'.... > > Thanks > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]