subrat padhi
subrat padhi

Reputation: 171

I need to iterate user-data in Lua

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

Answers (0)

Related Questions