mod_ssl: Expose serialNumber (2.5.4.5) as standard env var from certi…#644
mod_ssl: Expose serialNumber (2.5.4.5) as standard env var from certi…#644michael-o wants to merge 1 commit intoapache:trunkfrom
Conversation
…ficate DN serialNumber (2.5.4.5) is a standard LDAP attribute embedded in the subject's and/or issuer's DN, extract it by standard means from the DN and expose via StdEnvVars. This fixes BZ #35154. Co-authored-by: Michael Osipov <michaelo@apache.org>
|
Verified and works perfectly for me via PHP and |
|
Thanks @michael-o any chance of a test case update too? https://github.com/apache/httpd-tests/blob/trunk/t/ssl/varlookup.t |
Thanks! Checking... Any chance to nominate for 2.4.x? The change is straight forward. |
|
@notroj Trying to wrap around my head how the stuff works. As far as I understand I first need to modify https://metacpan.org/release/SHAY/Apache-Test-1.43/source/lib/Apache/TestSSLCA.pm#PApache::TestSSLCA and add some "serialNumber" before I can even modify the test. If so, who will publish a new version to CPAN? |
|
@michael-o oohh.. I was thinking this is just the serial number for the cert which is already there... but it's in the DN. Don't worry about it, too painful to adjust the TestSSLCA.pm for it I expect. |
…ficate DN
serialNumber (2.5.4.5) is a standard LDAP attribute embedded in the subject's and/or issuer's DN, extract it by standard means from the DN and expose via StdEnvVars.
This fixes BZ #35154.