Welcome! Log In Create A New Profile


Re: SSL client certyficage

March 28, 2017 12:18AM

On 3/27/17 4:28 PM, piroaa wrote:
> Hi.
> I have own cloud server with ssl client cert verification ssl_verify_client
> set to on. How I can disable verification for location/index.php/s/ share
> links ?

try setting ssl_verify_client to optional and use the built in variable

Something like this (not tested):

server {


ssl_client_certificate /path/to/client.crt;
ssl_verify_client optional;

## Unprotected part of site
location ^~ /path/to/shared/links {

## Protected part of site
location ~ /main/site

if ($ssl_client_verify != SUCCESS) {
return 403;


Jim Ohlstein

"Never argue with a fool, onlookers may not be able to tell the
difference." - Mark Twain
nginx mailing list
Subject Author Posted

SSL client certyficage

piroaa March 27, 2017 04:28PM

Re: SSL client certyficage

alexsamad March 27, 2017 07:46PM

Re: SSL client certyficage

Jim Ohlstein March 28, 2017 12:18AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

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