Hi,<div><br></div><div>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 <i><b>"ssl_verify_client"</b></i> and <b><i>"ssl_client_certificate"</i></b>. 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.</div>
<div>Seems that I can't put the directives enclosed by a <b><i>"location /client_auth { ... }"</i></b>. 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.</div>
<div><br></div><div>I'd appreciate any help on this.</div><div><br></div><div>Thanks,<br clear="all"><br>-- <br>Ariel Diaz Bermejo<br><a href="http://www.linkedin.com/in/adiazbermejo" target="_blank">http://www.linkedin.com/in/adiazbermejo</a><br>
<br><br>
</div>