NAME
Plack::Middleware::ClientCert
VERSION
version 0.100
SYNOPSIS
Parse a client certificate and put details in the env
    use Plack::Builder;
    my $app = sub {
        my $env = shift;
        return [
            200,
            [ 'Content-Type' => 'text/plain' ],
            [ "Hello $env->{ client_cn } from $env->{ client_ou } of $env->{ c  lent_o }" ],
        ];
    };
    builder {
        enable 'ClientCert';
        $app;
    };
DESCRIPTION
Plack::Middleware::ClientCert parses the fields of a digital certificate in either Apache or IIS. The certificate distinguished name is either slash-delimited or comma delimited in the form:
'C=US, O=Agents Virtual Community, OU="My Insurance, Inc.", CN=Troy O'Leary
Any fields containing a comma are double-quoted.
The keys for the certificate are:
client_cn client_ou client_o
NAME
Plack::Middleware::ClientCert - Parse a client certificate and put details in the env
AUTHOR
Keith Carangelo
AUTHOR
Keith Carangelo <mail@kcaran.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Keith Carangelo.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.