One other thing to note is that I tried using basic auth instead of
host access, and I was able to get access to the client cert. So, in
my config I just changed:
WSGIAccessScript /home/jslagle/devel/access.wsgi
to:
WSGIAuthUserScript /home/jslagle/devel/access.wsgi
And I changed my access.wsgi to:
#!/usr/bin/python
import ssl_engine_vars
def check_password(environ, user, password):
request_rec = environ['apache.request_rec']
cert = ssl_engine_vars.var_lookup(request_rec, "SSL_CLIENT_CERT")
# Do some cert validation
return True
In this case, the cert variable above contained the client
certificate, doing the exact same request as before. We don't want to
use basic auth here, but I didn't know if this might shed some light
on my issue at all. There seems to be some difference as to if the
client cert is available between WSGIAccessScript and
WSGIAuthUserScript.
Thanks
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.