#31638 [Asn->Fbk]: openssl_csr_sign ignoring configargs

From: Date: Fri, 08 Jul 2005 22:41:00 +0000
Subject: #31638 [Asn->Fbk]: openssl_csr_sign ignoring configargs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81604@lists.php.net to get a copy of this message
ID: 31638 Updated by: sniper@php.net Reported By: john dot douglass at oit dot gatech dot edu -Status: Assigned +Status: Feedback Bug Type: OpenSSL related Operating System: Linux 2.4.22 PHP Version: 5.0.3 Assigned To: sniper New Comment: Apparently those urls don't work anymore. Please provide working URLs. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#81604) next »