module's development and ssl

Chavelle Vincent lists at ruby-forum.com
Wed Mar 12 21:23:21 MSK 2008


> 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/.





More information about the nginx mailing list