Re: how to get common name from client cert in TLS connection instead of HTTPS

2016-09-16 Thread B.R.
It seems the variable you are refering to belongs to the ngx_http_ssl_module, suitable for HTTPS, not in the ngx_stream_ssl_module, suitable for generic TLS. --- *B. R.* On Fri, Sep 16, 2016 at 5:19 AM, Albert Zhang wrote: > how to get common name from client cert in TLS connection instead

how to get common name from client cert in TLS connection instead of HTTPS

2016-09-15 Thread Albert Zhang
how to get common name from client cert in TLS connection instead of HTTPS. I am using TLS not https and want to get common name from client cert using nginx plus ami on was, I am using AWS elb(ssl)+nginx client certificate ssl I know use $ssl_client_s_dn but how to get/compare the value here