Skip to content Skip to sidebar Skip to footer

Pass Ssl Cert Information From Nginx To Flask

I'm setting up a REST API to be used by clients my company controls. I've built it on Flask-restless and am serving it with uWSGI and nginx. For authenticating clients and for sec

Solution 1:

Fixed it!

you just export uwsgi_param YOUR_NAME_HERE $variable; in the nginx conf file.

for my purposes it looks like this

uwsgi_param CLIENT_VERIFY$ssl_client_verify;
uwsgi_param CLIENT_CERT$ssl_client_s_dn;

Post a Comment for "Pass Ssl Cert Information From Nginx To Flask"