Skip to content

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

@ret2src

Description

@ret2src

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions