Welcome! Log In Create A New Profile

Advanced

Re: SSL client verification context

Matthias-Christian Ott
February 10, 2011 10:06AM
On Thu, Feb 10, 2011 at 04:20:51PM +0300, Igor Sysoev wrote:
> 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.

I confused both ;).

> You may try
>
> server {
> ssl_verify_client optional;
>
> location /dir/ {
> if ($ssl_client_verify != SUCCESS) {
> return 403;
> }

What I mean was the following

server {
location /a {
ssl_client_certificate a/ca.pem;
ssl_crl a/a.crl;
}

location /b {
ssl_client_certificate b/ca.pem;
ssl_crl a/a.crl;
}
}

As far as I can tell from the documentation, both Apache and lighttpd
seems to support this.

Regards,
Matthias-Christian

_______________________________________________
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 7826 February 10, 2011 02:38AM

Re: SSL client verification context

Igor Sysoev 4600 February 10, 2011 08:22AM

Re: SSL client verification context

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

Re: SSL client verification context

Igor Sysoev 4141 February 10, 2011 10:26AM

Re: SSL client verification context

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

Re: SSL client verification context

Igor Sysoev 2766 February 10, 2011 10:58AM

Re: SSL client verification context

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

Re: SSL client verification context

Igor Sysoev 4081 February 10, 2011 11:10AM



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

Online Users

Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready