Doc #77787 [ReO]: OPENSSL PRIVATE KEY is missing
| From: | xxalfa at gmail dot com | Date: | Mon, 18 Nov 2019 00:05:39 +0000 |
| Subject: | Doc #77787 [ReO]: OPENSSL PRIVATE KEY is missing | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17064@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
User updated by: xxalfa at gmail dot com
Reported by: xxalfa at gmail dot com
Summary: OPENSSL PRIVATE KEY is missing
Status: Re-Opened
Type: Documentation Problem
Package: OpenSSL related
-PHP Version: 7.3.3
+PHP Version: 7.3.11
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
I have update all files to version 7.3.11. Not the content is the problem, but if
C:\usr\local\ssl\openssl.cnf does not exist, the key is not generated. It bothers me that I had to
create the path C:\usr\local\ssl\ myself.
Previous Comments:
------------------------------------------------------------------------
[2019-11-17 18:23:15] bukka@php.net
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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