On Sat, Jun 8, 2013 at 6:02 PM, yegle <[email protected]> wrote: > I think werkzeug/flask don't handle SSL at all, you need to do it on the web > server like nginx/apache. > > Common practice is to setup SSL client verification on webserver. when > verification succeed, add a value to environment variable so that you can > read client cert information in werkzeug/flask > > This might be wrong since I only have experience of setting SSL client > verification for PHP application on nginx.
Hello yegle: Thanks, that's exactly what mitshiko answered via irc: I have to do that with nginx. I'll use $ssl_client_raw_cert or $ssl_client_cert to add a header which will be available to my flask app. More information: http://blog.nategood.com/client-side-certificate-authentication-in-ngi http://nginx.org/en/docs/http/ngx_http_ssl_module.html -- Eduardo Robles Elvira +34 668 824 393 skype: edulix2 http://www.wadobo.com it's not magic, it's wadobo! -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pocoo-libs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
