RE: Key file

2006-08-21 Thread Ambarish Mitra
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

Re: Key file

2006-08-21 Thread Florian G otter
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

Re: key file creation from known hex keys

2004-11-09 Thread Ng Pheng Siong
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

Re: key file creation from known hex keys

2004-11-08 Thread Dr. Stephen Henson
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

Re: key file creation from known hex keys

2004-11-08 Thread Ng Pheng Siong
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.

Re: Key file dialog error in Apache

2002-03-25 Thread Matt
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