Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Grabbing user name from SSL user certificate, posted by Davide Salomoni on Mon Aug 25 17:23:22 2008 
    icon2.gif   Re: Grabbing user name from SSL user certificate, posted by Stefan Ritt on Mon Sep 1 13:48:29 2008 
Message ID: 65955     Entry time: Mon Aug 25 17:23:22 2008     Reply to this: 65957
Icon: Question  Author: Davide Salomoni  Author Email: dsalomoni@gmail.com 
Category: Question  OS: Linux  ELOG Version:  
Subject: Grabbing user name from SSL user certificate 

With SSL enabled, I'd like to to grab the CN (Common Name) of the user certificate and use that as login authentication method.

I am thinking of the following scenario:

- users with read & write privileges need to have an SSL certificate loaded in their browser. The "Author" field will be pre-set to the CN of the user certificate.

- authorization may be subject to further granularity (e.g. only allow users whose certificate belongs to a certain organization)

- read-only, guest access (without certificate) may or may not be allowed

 

Is there a way to do that?

ELOG V3.1.5-fe60aaf