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

InsecureRequestWarning caused by verify=false #24

Open
zypro opened this issue May 14, 2019 · 0 comments
Open

InsecureRequestWarning caused by verify=false #24

zypro opened this issue May 14, 2019 · 0 comments

Comments

@zypro
Copy link

zypro commented May 14, 2019

/.../urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

Though its "only" a warning, but we also want to verify HTTPS certificates, it would be great to remove verify=false (default true) from the requests.get call in the check_links management command.

If the environment itself doesn't provide the needed collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts, you can use the python package certifi.

Here more information about the requests package working with certifi.

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