Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002871 [Resin] minor always 08-26-08 09:23 10-09-08 16:35
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0002871: mod_caucho with SSL
Description (rep by Michael Schiemer)

mod_caucho not sending SSL_* data. check EAPI flag in current Apaches.

-- Scott
Additional Information
Attached Files

- Relationships

- Notes
(0003359)
ferg
08-26-08 09:57

Apache 2.0.63
 
(0003374)
ferg
09-02-08 15:57

After examining the Apache 2 source code, it appears that the method ap_hook_call(..) has been deprecated. It has been replaced by the method ssl_var_lookup(...)
 
So if you replace this code
 
char *var;
int v;
    
if ((v = ap_hook_call("ap::mod_ssl::var_lookup", &var, r->pool, r->server, r->connection, r, "SSL_CLIENT_CERT"))) {
  cse_write_string(s, CSE_CLIENT_CERT, var);
}
with this
 
// Declaration from mod_ssl.h
char * ssl_var_lookup(apr_pool_t *, server_rec *, conn_rec *, request_rec *, char *);
 
char *var;
var = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CLIENT_CERT");
if (var != NULL) {
   cse_write_string(s, CSE_CLIENT_CERT, var);
}
The client's certificate now shows up in the HttpRequest object. Depending on the version of Apache (2.0 vs. 2.2) some (or all) of the other attributes (that are currently being extracted) are available.
 

- Issue History
Date Modified Username Field Change
08-26-08 09:23 ferg New Issue
08-26-08 09:57 ferg Note Added: 0003359
09-02-08 15:57 ferg Note Added: 0003374
10-09-08 16:35 ferg Assigned To  => ferg
10-09-08 16:35 ferg Status new => closed
10-09-08 16:35 ferg Resolution open => fixed
10-09-08 16:35 ferg Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker