Getting expiration date of client certificate

sandeepkolla99 nginx-forum at nginx.us
Thu Jan 15 17:16:29 UTC 2015


Hi,
   I wanted to extract client certificate expiration date in nginx.conf. I
have the below map command to extract CN name of client certificate. Do you
know if any variables/directives nginx supports to extract client
certificate expiration date?

   map $ssl_client_s_dn $ssl_client_s_dn_cn {
        default "";
        ~/CN=(?<CN>[^/]+) $CN;
    }

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



More information about the nginx mailing list