Steve Thanks for confirming my suspicions.
I think it's likely I am missing variables rather than having set them incorrectly. It doesn't seem appropriate to post my config here as that just means someone else taking the effort to see what's missing when I should be doing it. I have checked my file against most of the sample configs I found on the web and it looks ok. Is there a definitive list of config file variables? -Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dr. Stephen Henson Sent: 29 March 2004 18:05 To: [EMAIL PROTECTED] Subject: Re: openssl errors On Mon, Mar 29, 2004, Neil Lowden wrote: > I am experimenting with the openssl extension in PHP with generally a great > deal of success. > > However, certain functions, which otherwise suceed, leave errors on the > openssl error stack. As you may know, PHP wraps most of the raw openssl > functions so I am not sure exactly which raw functions are placing errors on > the stack. Nevertheless, it's pretty obvious that all these relate to some > problem with my openssl.cnf file. The problem is these errors are rather > terse. For instance the PHP call to generate a new key pair leaves 7 of the > following errors on the stack: > > error:0906D06C:configuration file routines:NOCONF_get_string:no value > > But as I said, the call certainly works and generates a valid key pair. > Seems like a few variables are missing or bad in the file. So does anyone > have any idea how I might establish what may be missing or misconfigured in > my openssl.cnf file? > When a config file variable lookup fails that error occurs. Normally this just means that the configuration file didn't include a certain option. OpenSSL applications normally clear such errors so they don't appear in the queue. Its possible that a few have been missed. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]