[Answer]-SSL certificate verify failure using django and Mozilla Persona

1👍

✅

Looking at your example app and it’s sole dependency it seems your trouble is coming from this line in django_browserid. I’m not familiar with your app or django_browserid but if you can pass verify=False to https://github.com/mozilla/django-browserid/blob/66641335751b869562ba7a554e61ca56bc880257/django_browserid/base.py#L167 this should solve your problems. In other words, if you specify which Verifier you use, then it should do something like

 verifier = RemoteVerifier()
 verifier.requests_parameters['verify'] = False

 # or

 verifier.verify(verify=False)

Of course you didn’t show any code where you were doing that so that could be what you meant when you said:

For example, trying to use verify = False when using the requests package still produces the error.

But I can’t tell that from the code you have posted.

Leave a comment