Summary: | SSL_CLIENT_S_DN_x509_0 is undefined in the environment table | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Willy Weisz <willy.weisz> |
Component: | mod_ssl | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | willy.weisz |
Priority: | P2 | ||
Version: | 2.4.6 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Willy Weisz
2014-02-03 12:06:54 UTC
Sorry: The description of mod_ssl is correct in that it says that no _0 variable is available in the environment table. But the fact remains that apache scripts (e.g. in PHP) can't access a variable _0, contrary to what apache itself can do in its configuration files (e.g. in requirement statements). It would be expensive to have mod_ssl export all the DN components. If the problem here is specifically with PHP, the right thing to do is to create a hook in the mod_php SAPI so it can make ssl_var_lookup() available to PHP scripts directly - that should be very very simple. ^ export all the DN components *twice*. |