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]

Reply via email to