Need client cert common name as user

sailorfred nginx-forum at nginx.us
Tue Sep 20 22:39:08 UTC 2011


I'm in the process of converting from lighttpd to nginx, but I'm not
finding an equivalent of the lighttpd directive:

ssl.verifyclient.username = "SSL_CLIENT_S_DN_CN"

This sets the REMOTE_USER environment variable for the backend FastCGI
process, and logs the common name into the access log.

Is it possible to do this in nginx?

Thanks,

Fred

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215461,215461#msg-215461



More information about the nginx mailing list