I have to check client certificate issuer in the Lighttpd but can't find any variable for that.
Here is part of my config, related to ssl_mod:
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/certs/this-server.pem"
ssl.ca-file = "/etc/certs/allcas.pem"
ssl.verifyclient.activate = "enable"
ssl.verifyclient.username = "enable"
}
I am currently struggling with some similar questions (let me stress "struggling"!). I am not quite there yet but from my extensive research the following looks promising.
The option ssl.verifyclient.username = "SSL_CLIENT_S_*" seems to only give information about the subject, i.e. the user. As of version 1.4.25, ssl.verifyclient.exportcert = "enable" though should give you access to the full certificate which can be evaluated in 'env:SSL_CLIENT_CERT'.
Source: http://nginxvslighttpd.com/2011/08/lighttpd-ssl-module/ (section "Configuration").
Please report back with success or failure report!