This is technically both a mod_perl and mod_ssl question. Maybe I
should harass their mailing list too.
I have a PerlAccessHandler that needs to access certificate
information. According to what I've read the environment isn't loaded
with this information until the fixup phase which occurs rig
You can try something like ...
# Get SSL variables into subprocess...
my $subr = $r->lookup_uri( $r->uri() );
# Get serial and issuer
my $serial =
$subr->subprocess_env('SSL_CLIENT_M_SERIAL') || "";
my $issuer_slashes =
$subr->subprocess_env('SSL_CLIENT_I_DN') || "";
Hope that works.
On Fri, Jan 14, 2005 at 04:48:09PM -0500, Jason Kaskel wrote:
> This is technically both a mod_perl and mod_ssl question. Maybe I
> should harass their mailing list too.
>
> I have a PerlAccessHandler that needs to access certificate
> information. According to what I've read the environment is