Re: Mapping SSL certificates to django users

2014-01-13 Thread Roberto De Ioris
> Hi tomaso > > Did you maybe found the solution? We have the same issue. > > Best regards > Mitja Both apache and nginx can set the HTTPS_DN/other_names_as_well variable to the distinguished name of the x509 peer. Just add SSLOptions +StdEnvVars I use it as a decorator to protect some view:

Re: Mapping SSL certificates to django users

2014-01-13 Thread mitja . sturm
Hi tomaso Did you maybe found the solution? We have the same issue. Best regards Mitja On Monday, April 2, 2012 3:03:28 PM UTC+2, tomaso wrote: > > Hello, > > how can I map a DN (or any other part of X509 certificate) to a django > user? > > I have found a documentation article about django

Re: Mapping SSL certificates to django users

2012-04-02 Thread Tom Evans
On Mon, Apr 2, 2012 at 2:03 PM, Tomas Kouba wrote: > Hello, > > how can I map a DN (or any other part of X509 certificate) to a django user? > > I have found a documentation article about django middleware using > REMOTE_USER > transferred from apache, but I am not sure if this is

Mapping SSL certificates to django users

2012-04-02 Thread Tomas Kouba
Hello, how can I map a DN (or any other part of X509 certificate) to a django user? I have found a documentation article about django middleware using REMOTE_USER transferred from apache, but I am not sure if this is the way and if yes how to - tell apache that a given part of X509 certificate