Extract CN field from SSL certificate (authSSL)
Hi,
The apache2 options "SSLOptions +StdEnvVars" and "SSLUserName SSL_CLIENT_S_DN_CN" doesn't exist to nginx or i don'-t find ...
To extract CN field from certificat, you must map this param and export to fastCGI:
map $ssl_client_s_dn $ssl_client_s_dn_cn {
default "";
~/CN=(?<CN>[^/]+) $CN;
}
fastcgi_param SSL_CLIENT_S_DN_CN $ssl_client_s_dn_cn;
Maybe you can add this feature/option or document it.
Thanks