#31638 [NoF->Csd]: openssl_csr_sign ignoring configargs
ID: 31638
Updated by: pajoye@php.net
Reported By: john dot douglass at oit dot gatech dot edu
-Status: No Feedback
+Status: Closed
Bug Type: OpenSSL related
Operating System: Linux 2.4.22
PHP Version: 5.0.3
Assigned To: sniper
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-07-16 01:00:03] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-07-09 00:40:58] sniper@php.net
Apparently those urls don't work anymore. Please provide working URLs.
------------------------------------------------------------------------
[2005-01-21 16:09:11] john dot douglass at oit dot gatech dot edu
Description:
------------
Attempting to use function openssl_csr_sign with the optional
"configargs" array to specify which extensions to sign the cert with.
The function works and I get a signed certificate, however the config
arg {"x509_extensions" => "auth_only"} doesn't appear to work.
PHP 5.0.3 with OpenSSL support (which everything works except for this
one thing)
Reproduce code:
---------------
Source at:
http://xlr8ed.ts.gatech.edu/kalamos/obug.phps
OpenSSL config at:
http://xlr8ed.ts.gatech.edu/kalamos/obug-openssl.conf
Client code at:
http://xlr8ed.ts.gatech.edu/kalamos/obug-client.phps
Expected result:
----------------
I expect a signed certificate with the specified extensions (the
keyUsage/extendedKeyUsage,etc) as specified in the "auth_only"
extension section
Actual result:
--------------
A certificate with apparently NO extensions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31638&edit=1
Thread (4 messages)