Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“SSL: CERTIFICATE_VERIFY_FAILED” Error in app. #184

Closed
ronaldoussoren opened this issue Oct 8, 2015 · 2 comments
Closed

“SSL: CERTIFICATE_VERIFY_FAILED” Error in app. #184

ronaldoussoren opened this issue Oct 8, 2015 · 2 comments
Labels
bug Something isn't working

Comments

@ronaldoussoren
Copy link
Owner

Original report by Vladimir Sokolov (Bitbucket: Amalgama1, ).


Hi all.

I build app.

But when i start app from another Mac, i have “SSL: CERTIFICATE_VERIFY_FAILED” Error
from urllib2.urlopen.

I think that py2app does not include or build new SSL CERTIFICATE in app.

How can i fix this error?

@ronaldoussoren
Copy link
Owner Author

Original comment by Ryan Holmes (Bitbucket: blitzmann, GitHub: blitzmann).


Hi,

We ran into the same issue (pyfa-org/Pyfa#432)

While I do believe py2app should get this certificate and then change the paths to properly find it in the bundle, we found a workaround for it until the maintainer can fix this issue. We basically modify the environment variable SSL_CERT_FILE to point to a certificate file that we ship with our bundle. Seems to work well enough.

pyfa-org/Pyfa#432

@ronaldoussoren ronaldoussoren added major bug Something isn't working and removed 0.7 labels Jan 14, 2020
@ronaldoussoren
Copy link
Owner Author

Fixed in changeset 4a97c93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant