Skip to content
Snippets Groups Projects
Commit ac617ebc authored by Georg Göri's avatar Georg Göri
Browse files

Fixed get_ssl_certificate_id

Fixed in a way that it also retrieves client certificates as they are supplied by Apache
parent de0d8d10
No related branches found
No related tags found
No related merge requests found
......@@ -692,6 +692,12 @@
$_SERVER["REDIRECT_SSL_CLIENT_V_END"] .
$_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 "";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment