You could pass the certificate to Discourse using a line like
proxy_set_header X-Cert-DN: $ssl_client_s_dn;
and then have some sort of plugin to read the value from the header.
You could pass the certificate to Discourse using a line like
proxy_set_header X-Cert-DN: $ssl_client_s_dn;
and then have some sort of plugin to read the value from the header.