Skip to content

Commit

Permalink
new url value
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 3, 2016
1 parent 03b7e98 commit 777bca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/netius/base/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ def _ssl_certs(
context.load_cert_chain(cer_file, keyfile = key_file)
context.verify_mode = verify_mode
if hasattr(context, "check_hostname"): context.check_hostname = check_hostname
#if ca_file: context.load_verify_locations(cafile = ca_file)
if ca_file: context.load_verify_locations(cafile = ca_file)
if ca_root and hasattr(context, "load_default_certs"):
context.load_default_certs(purpose = ssl.Purpose.SERVER_AUTH)
if ca_root and SSL_CA_PATH:
Expand Down
2 changes: 1 addition & 1 deletion src/netius/common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

import netius.clients

CA_URL = "http://curl.haxx.se/ca/cacert.pem"
CA_URL = "https://curl.haxx.se/ca/cacert.pem"

COMMON_PATH = os.path.dirname(__file__)
BASE_PATH = os.path.join(COMMON_PATH, "..", "base")
Expand Down

0 comments on commit 777bca7

Please sign in to comment.