Doc #77787 [Wfx]: OPENSSL PRIVATE KEY is missing
| From: | bukka@php.net | Date: | Sun, 17 Nov 2019 18:23:15 +0000 |
| Subject: | Doc #77787 [Wfx]: OPENSSL PRIVATE KEY is missing | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17062@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77787&edit=1
ID: 77787
Updated by: bukka@php.net
Reported by: xxalfa at gmail dot com
Summary: OPENSSL PRIVATE KEY is missing
Status: Wont fix
Type: Documentation Problem
Package: OpenSSL related
PHP Version: 7.3.3
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
Could you actually share the content of C:\usr\local\ssl\openssl.cnf and
C:\php\extras\ssl\openssl.cnf . I think there might be issue in the actual config as it's
strange that it doesn't work for you.
Previous Comments:
------------------------------------------------------------------------
[2019-11-10 22:32:42] xxalfa at gmail dot com
An alternative file can be specified on page "https://www.php.net/manual/de/function.openssl-csr-new.php"
under config, but what do I have to do to use this file?
------------------------------------------------------------------------
[2019-11-10 19:10:22] bukka@php.net
Ah yeah this is expected and lots of code depends on it so we can't change this. Most of the
time it's what users want as it allows using system config.
The only thing that you can do is to change the location using environment variable OPENSSL_CONF (or
SSLEAY_CONF is also checked for legacy reasons). Have to close it as there is nothing we can do
about this.
------------------------------------------------------------------------
[2019-10-27 20:52:24] xxalfa at gmail dot com
After all this time, are not we a millimeter further? Although parameter $options[
'config' ] is set, openssl insists that file C:\usr\local\ssl\openssl.cnf must exist
there.
I have already stated that it is not a bug, it is simply a misconduct.
------------------------------------------------------------------------
[2019-10-27 19:40:58] bukka@php.net
Looks like openssl_pkey_export failed so it's empty because the value is false. You should see
the errors using openssl_error_string. You need to provide more info as the current output
doesn't suggest any bug in PHP.
------------------------------------------------------------------------
[2019-06-01 13:09:34] xxalfa at gmail dot com
I appreciate her apology, but I can not accept it. Because I simply expect more from PHP. The
specified help page is not helpful for me. In the deposited channels, I was not so far appropriate
find. Let's look at my message: of course it is not a bug, in my view it is just a misconduct,
the configuration of openssl should be more flexible, only please whom and where can I explain this
appropriately?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=77787
--
Edit this bug report at https://bugs.php.net/bug.php?id=77787&edit=1