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

Dirty hack for "urllib2.URLError [SSL: CERTIFICATE_VERIFY_FAILED]" #10

Open
ret2src opened this issue Jan 24, 2023 · 0 comments
Open

Dirty hack for "urllib2.URLError [SSL: CERTIFICATE_VERIFY_FAILED]" #10

ret2src opened this issue Jan 24, 2023 · 0 comments

Comments

@ret2src
Copy link

ret2src commented Jan 24, 2023

Just a quick and dirty hack to "solve" HTTPS issues with self-signed certs.

Simply add the following two lines to gwtenum.py:

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

Happy hacking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant