Reputation: 171
I am reading the ngnix client certificate and storing it in a local variable.
local client_cert = openssl_x509.new(ngx.var.ssl_client_raw_cert)
local subject = client_cert:getSubject()
I need to get the common name from the subject, how can I get it?
Upvotes: 0
Views: 206