Welcome! Log In Create A New Profile

Advanced

Re: Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

November 26, 2014 11:24AM
Hi Francis,
Thanks for your quickest response.

My nginx.cong is like this:

ssl_certificate server.pem;
ssl_certificate_key server.key;
ssl_client_certificate ca.pem;
ssl_verify_client on;

I'm able to verify client certificate successfully. Now, additionally I want perform the following three validations on client certificate

I want to check if
1. subject distinguished "OU" value of client certificate is some "myOU"(its just an example string),
2. subject distinguished "O" value of client certificate is some "myO"(its just an example string),
3. subject distinguished "CN" value of client certificate is "myCN" (its just an example string).

I'm trying to find the nginx configuration statements to implement these validations. Please let me know if I need to elaborate this further.

Regards,
Sandeep
Subject Author Posted

Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

sandeepkolla99 November 25, 2014 10:19AM

Re: Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

Francis Daly November 25, 2014 03:46PM

Re: Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

sandeepkolla99 November 26, 2014 11:24AM

Re: Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

Francis Daly November 27, 2014 03:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 248
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready