Welcome! Log In Create A New Profile

Advanced

Doubt about ssl_verify_client

Ariel
September 29, 2010 07:06PM
Hi,

I'm writing a Rails app and using nginx+passenger to serve it and I'm
implementing "Client Certificate Authentication". For that purpose I need to
setup the server using the directive *"ssl_verify_client"* and *
"ssl_client_certificate"*. The problem is that I only need this
configuration to happen on some specific URI (like "/client_auth") and I
don't know how to do that.
Seems that I can't put the directives enclosed by a *"location /client_auth
{ ... }"*. And if I put the directives at the server level, then every HTTPS
request will look for the client cert (the browser prompts for it) and I
don't want to bother users with that because this feature is only needed if
you reach the mentioned URI.

I'd appreciate any help on this.

Thanks,

--
Ariel Diaz Bermejo
http://www.linkedin.com/in/adiazbermejo
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Doubt about ssl_verify_client

Ariel September 29, 2010 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
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