module's development and ssl
Igor Sysoev
is at rambler-co.ru
Wed Mar 12 16:10:07 MSK 2008
On Wed, Mar 12, 2008 at 01:04:14PM +0100, Chavelle Vincent wrote:
> > There are some variables related to client's certificate:
> > $ssl_client_serial serial number
> > $ssl_client_s_dn subejct DN
> > $ssl_client_i_dn issuer DN
>
> Thanks, I can read this to nginx wiki too :
> # $ssl_client_serial returns the series number of client certificate for
> established SSL-connection
> # $ssl_client_s_dn returns line subject DN of client certificate for
> established SSL-connection
> # $ssl_client_i_dn returns line issuer DN of client certificate for
> established SSL-connection
>
> But I don't know how to access to them. I tried :
> sscf = ngx_http_conf_get_module_loc_conf(r, ngx_http_ssl_module);
> sscf->client_certificate.data;
> But that don't work.
Look
ngx_ssl_get_subject_dn()
ngx_ssl_get_issuer_dn()
ngx_ssl_get_serial_number()
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list