Look into repoman, specifically this file:

https://github.com/hep-gc/repoman/blob/master/server/repoman/repoman/lib/middleware/authentication.py

They have a wsgi middleware that takes the certificate and sets
environ['AUTHENTICATED']

On Aug 4, 5:45 am, Michele Comitini <[email protected]>
wrote:
> Hello list!
>
> I have a simple question, but I cannot find any example by googling around.
>
> Does anyone have a setup to allow authentication of users with X.509
> signed certs with web2py?
> This means that the serial of the cert or the cn is used to identify
> the usre.  The problem is passing those
> data to web2py auth.
> I have an idea on how to implement this, but no need to reinvent the wheel! 
> ;-)
>
> Thanks
>
> mic

Reply via email to