Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Restrict site access by SSL Client Cert?
Date: Wed, 15 Feb 2012 15:47:58
Message-Id: CAEH5T2N8_SzW-P3TxM1kOdM+rUVyw_nQYYyVP0VZ7ag4D1_OGw@mail.gmail.com
In Reply to: [gentoo-user] Restrict site access by SSL Client Cert? by Tanstaafl
1 On Wed, Feb 15, 2012 at 8:46 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2 > Hi everyone,
3 >
4 > I know that you can restrict access to a certain site using either Basic
5 > HTTP Auth or Digest Auth, but I was wondering - can you do the same with an
6 > SSL Client Certificate?
7
8 Yes, you can. The specifics of how depend on what web server you're using.
9
10 For Apache, there are some examples of different scenarios here:
11 https://httpd.apache.org/docs/2.0/ssl/ssl_howto.html#allclients
12
13 > I'd also like to provide for IP based exceptions if possible
14
15 Trivial in Apache using mod_authz_host which is made for that kind of
16 thing. :) You can combine the two access methods (allow all if it's
17 coming from your company's internal IP, otherwise require
18 certificate).

Replies

Subject Author
Re: [gentoo-user] Restrict site access by SSL Client Cert? Tanstaafl <tanstaafl@×××××××××××.org>