http-authentication
Opened 14 years ago
Closed 14 years ago
#1477 closed enhancement (fixed)
Support use of personal X509 certificates
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Severity: | normal |
| Plugin: | http-authentication | Keywords: | |
| Cc: |
Description
From a user:
I use your HTTP authentication module in conjunction with personal X509 certificates for securing my site. To do this, I have altered it as follows:
function check_remote_user() {
$username = '';
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER', 'SSL_CLIENT_S_DN_CN') as $key) {
if (isset($_SERVER[$key])) {
$username = $_SERVER[$key];
}
}
It consists only of adding the SSL_CLIENT_S_DN_CN as one potential source for the identity. Is it something you could incorporate in future releases ?
Note: See
TracTickets for help on using
tickets.
Fixed in [522706], no idea why the post-commit hook didn't fire.