Welcome! Log In Create A New Profile

Advanced

Whitelisting IPs from Certificate Based Authentication

Zeal Vora
August 16, 2016 05:18AM
Hi

We have a Certificate Based Authentication for one of our websites.

We want that if users visit from Office IP's then they should not have to
go via Certificate Based Authentication. Rest for all, Authentication is
necessary.

What would be the ideal way of doing this ?

I believe $remote_addr can play role in this.


*My current sample Nginx config :*-

server
{
listen 80;

ssl_client_certificate /backup/ca.crt;
ssl_verify_client on;

location /
{
root /var/www/html;
index index.html;
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Whitelisting IPs from Certificate Based Authentication

Zeal Vora August 16, 2016 05:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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