|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-09 00:40 UTC] sniper@php.net
[2005-07-16 01:00 UTC] php-bugs at lists dot php dot net
[2006-07-31 00:48 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 03:00:01 2025 UTC |
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.