Yes, giving an absolute path to SSL_use_certificate_file will work. If you are
on windows, then you should escape the \ which will be present in the path -
thats all.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bu Bacoo
Sent: Monday, August 21, 2006 3
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
{
co
On Tue, Nov 09, 2004 at 01:48:42AM +0100, Dr. Stephen Henson wrote:
> There are a couple of ways to do this. One is to write a short program to read
> in each component, populate an RSA structure with them using BN_hex2bn() and
> write the result out with PEM_write_RSAPrivateKey().
Hmmm, how did I
On Mon, Nov 08, 2004, Sundar Raman wrote:
> This is probably a pretty basic question, but i'm new to encryption and
> openssl, so please forgive the fact that it's probably stupid.
>
> I've got known private and public rsa keys in hex format, including all
> the parameters (n, p, q, etc.). I know
On Mon, Nov 08, 2004 at 04:27:14PM -0600, Sundar Raman wrote:
> I've got known private and public rsa keys in hex format, including all
> the parameters (n, p, q, etc.). I know that i can use genrsa to generate
> keys into a .pem file that can subsequently be passed to enc to
> encrypted some data.
The path in httpd.conf may not be right. Maybe you can double check the
DocumentRoot directive? Not sure if you also have patched apache with
mod_ssl package?
--
WWW.XGFORCE.COM -
The Next Generation Server Clustering
and Clustered Enterprise Firewal