Welcome! Log In Create A New Profile

Advanced

Re: SSL client verification context

February 10, 2011 08:22AM
On Feb 10, 2011, at 10:36 , Matthias-Christian Ott wrote:

> Hi,
>
> at the moment it is only possible to set variables for SSL client
> verification in the http oder server context. I would be useful to have
> them at least in location, so that one could verify the certificate
> according to the requested directory. Would this be possible?


These are not variables, but directives.
You may try

server {
ssl_verify_client optional;

location /dir/ {
if ($ssl_client_verify != SUCCESS) {
return 403;
}


--
Igor Sysoev
http://sysoev.ru/en/


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

SSL client verification context

Matthias-Christian Ott 7607 February 10, 2011 02:38AM

Re: SSL client verification context

Igor Sysoev 4464 February 10, 2011 08:22AM

Re: SSL client verification context

Matthias-Christian Ott 2671 February 10, 2011 10:06AM

Re: SSL client verification context

Igor Sysoev 4012 February 10, 2011 10:26AM

Re: SSL client verification context

Matthias-Christian Ott 2582 February 10, 2011 10:38AM

Re: SSL client verification context

Igor Sysoev 2656 February 10, 2011 10:58AM

Re: SSL client verification context

Matthias-Christian Ott 2405 February 10, 2011 11:04AM

Re: SSL client verification context

Igor Sysoev 3932 February 10, 2011 11:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready