Get SSL client certificate name

29 views
Skip to first unread message

Anselm Strauss

unread,
Apr 8, 2014, 3:06:49 PM4/8/14
to turbo...@googlegroups.com
Hi,

I have a TurboGears application running with mod_wsgi in Apache. How can I get the client certificate name from SSL? This is usually stored in the environment as SSL_CLIENT_S_DN_CN but I can't find it anywhere. How to I access the WSGI environment? In Cherrypy the following works: cherrypy.request.wsgi_environ["SSL_CLIENT_S_DN_CN"].

Cheers,
Anselm

Alessandro Molina

unread,
Apr 9, 2014, 3:25:53 AM4/9/14
to TurboGears .
tg.request.environ is the WSGI Environment, you should find it there.


--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages