Welcome! Log In Create A New Profile

Advanced

allow certificate authentication only on parts of a url

Posted by alexsamad 
allow certificate authentication only on parts of a url
October 18, 2016 02:13AM
Hi

So say I have
https://www.abc.com.au/ThisIsSecure/ << I want everything under here to force the client to have a certificate
https://www.abc.com.au/ << But I want all other access to not need a certificate and to not pop up a certificate request..

https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html
apache seems to be able to do it


SSLVerifyClient none
SSLCACertificateFile "conf/ssl.crt/ca.crt"

<Location "/secure/area">
SSLVerifyClient require
SSLVerifyDepth 1
</Location>

but it seems like currently nginx can only turn it on for the whole tree

Alex
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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