Fixed get_ssl_certificate_id

Fixed in a way that it also retrieves client certificates as they are supplied by Apache
master
Georg Göri 11 years ago
parent de0d8d1088
commit ac617ebc01

@ -692,6 +692,12 @@
$_SERVER["REDIRECT_SSL_CLIENT_V_END"] . $_SERVER["REDIRECT_SSL_CLIENT_V_END"] .
$_SERVER["REDIRECT_SSL_CLIENT_S_DN"]); $_SERVER["REDIRECT_SSL_CLIENT_S_DN"]);
} }
if ($_SERVER["SSL_CLIENT_M_SERIAL"]) {
return sha1($_SERVER["SSL_CLIENT_M_SERIAL"] .
$_SERVER["SSL_CLIENT_V_START"] .
$_SERVER["SSL_CLIENT_V_END"] .
$_SERVER["SSL_CLIENT_S_DN"]);
}
return ""; return "";
} }

Loading…
Cancel
Save