module's development and ssl
Chavelle Vincent
lists at ruby-forum.com
Wed Mar 12 15:04:14 MSK 2008
> 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.
Thanks in advance
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list