Re: How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread ohaya
Ben Noordhuis wrote: > On Mon, Jun 18, 2012 at 5:45 AM, wrote: > > I haven't actually tried your suggestion yet, but, re. the SSL variables, I > > was looking at mod_headers.c, and in there, there are two separate > > functions: > > > > static const char *header_request_env_var(request_

Re: How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread Ben Noordhuis
On Mon, Jun 18, 2012 at 5:45 AM, wrote: > I haven't actually tried your suggestion yet, but, re. the SSL variables, I > was looking at mod_headers.c, and in there, there are two separate functions: > > static const char *header_request_env_var(request_rec *r, char *a) > { >    const char *s = ap

Re: How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread ohaya
oh...@cox.net wrote: > > Ben Noordhuis wrote: > > On Sun, Jun 17, 2012 at 9:46 PM, wrote: > > > Hi, > > > > > > I am starting to look into implementing an Apache module that can use > > > information from an incoming request, including several headers and the > > > subject string

Re: How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread ohaya
Ben Noordhuis wrote: > On Sun, Jun 17, 2012 at 9:46 PM, wrote: > > Hi, > > > > I am starting to look into implementing an Apache module that can use > > information from an incoming request, including several headers and the > > subject string from a client certificate to do authenticat

Re: How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread Ben Noordhuis
On Sun, Jun 17, 2012 at 9:46 PM, wrote: > Hi, > > I am starting to look into implementing an Apache module that can use > information from an incoming request, including several headers and the > subject string from a client certificate to do authentication. > > I've been looking at the source

How to access client certificate PEM and incoming request headers in a module?

2012-06-17 Thread ohaya
Hi, I am starting to look into implementing an Apache module that can use information from an incoming request, including several headers and the subject string from a client certificate to do authentication. I've been looking at the source for mod_auth_certificate, from https://modules.apache