> Look ngx_ssl_get_serial_number() implementation.
> It gets client certificate via
> 
>     cert = SSL_get_peer_certificate(c->ssl->connection);
>     if (cert == NULL) {
>         return NGX_OK;
>     }
> 
> and then using some OpenSSL functions it gets serial number.
> Do the same for hash key.
Looks great ! Thanks a lot
-- 
Posted via http://www.ruby-forum.com/.