]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_ssl: Expose serialNumber (2.5.4.5) as standard env var from certificate DN
authorJoe Orton <jorton@apache.org>
Thu, 7 May 2026 13:16:53 +0000 (13:16 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 7 May 2026 13:16:53 +0000 (13:16 +0000)
commit48f78796995fdb7172200eaaa73c835c7d35cbaf
treeac20eb4c7257cfb0468a4518f0a7b035a866cb12
parent1d7ba6ce100408ddb5e1f00ec20fb16e737ed98f
mod_ssl: Expose serialNumber (2.5.4.5) as standard env var from certificate 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.

PR: 35154
Co-authored-by: Michael Osipov <michaelo@apache.org>
Submitted by: Benjamin Demarteau <benjamin.demarteau@liege.be>
Github: closes #644

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933908 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/ssl-serialnumber.txt [new file with mode: 0644]
modules/ssl/ssl_engine_vars.c