mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
InsecurePlatformWarning (fixes #304)
This commit is contained in:
parent
08b60115e3
commit
71e17df03a
2 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ from letsencrypt.acme import messages
|
|||
from letsencrypt.client import errors
|
||||
|
||||
|
||||
# https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
|
||||
requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()
|
||||
|
||||
logging.getLogger("requests").setLevel(logging.WARNING)
|
||||
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -32,7 +32,9 @@ install_requires = [
|
|||
'ConfArgParse',
|
||||
'jsonschema',
|
||||
'mock',
|
||||
'ndg-httpsclient', # urllib3 InsecurePlatformWarning (#304)
|
||||
'psutil>=2.1.0', # net_connections introduced in 2.1.0
|
||||
'pyasn1', # urllib3 InsecurePlatformWarning (#304)
|
||||
'pycrypto',
|
||||
'PyOpenSSL',
|
||||
'python-augeas',
|
||||
|
|
|
|||
Loading…
Reference in a new issue