Req #74059 [Opn->Nab]: openssl_error_string needs to be clearer / more verbose
Edit report at https://bugs.php.net/bug.php?id=74059&edit=1
ID: 74059
Updated by: requinix@php.net
Reported by: lightnb at bellsouth dot net
Summary: openssl_error_string needs to be clearer / more
verbose
-Status: Open
+Status: Not a bug
Type: Feature/Change Request
Package: OpenSSL related
Operating System: Ubuntu 16.04
PHP Version: 7.0.15
Block user comment: N
Private report: N
New Comment:
The error message comes from OpenSSL, not PHP. Requests should be filed on their GitHub project: https://github.com/openssl/openssl/issues
Previous Comments:
------------------------------------------------------------------------
[2017-02-08 09:35:51] lightnb at bellsouth dot net
Description:
------------
openssl_error_string() produces useless error message like:
"error:0E06D06C:configuration file routines:NCONF_get_string:no value"
How about something more useful that includes the file (so I can be sure it's reading the right
one) and the line number or property name? Like:
"error in configuration file /path/to/some/file.conf: The property
"distinguished_name" in the "req" section cannot be empty. Line 106."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74059&edit=1
Thread (4 messages)