2019-06-30 21:34:03 +00:00
|
|
|
diff -Nur httplib2-0.13.0.orig/python2/httplib2/certs.py httplib2-0.13.0/python2/httplib2/certs.py
|
|
|
|
--- httplib2-0.13.0.orig/python2/httplib2/certs.py 2019-06-06 12:46:32.000000000 -0700
|
|
|
|
+++ httplib2-0.13.0/python2/httplib2/certs.py 2019-06-30 14:29:14.050085981 -0700
|
|
|
|
@@ -23,6 +23,7 @@
|
|
|
|
os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
|
|
|
|
)
|
|
|
|
|
|
|
|
+FEDORA_CA_CERTS = "/etc/pki/tls/certs/ca-bundle.crt"
|
|
|
|
|
|
|
|
def where():
|
|
|
|
env = os.environ.get("HTTPLIB2_CA_CERTS")
|
|
|
|
@@ -35,7 +36,7 @@
|
|
|
|
return custom_ca_locater_where()
|
|
|
|
if certifi_available:
|
|
|
|
return certifi_where()
|
|
|
|
- return BUILTIN_CA_CERTS
|
|
|
|
+ return FEDORA_CA_CERTS
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
diff -Nur httplib2-0.13.0.orig/python3/httplib2/certs.py httplib2-0.13.0/python3/httplib2/certs.py
|
|
|
|
--- httplib2-0.13.0.orig/python3/httplib2/certs.py 2019-06-06 12:46:32.000000000 -0700
|
|
|
|
+++ httplib2-0.13.0/python3/httplib2/certs.py 2019-06-30 14:29:38.778214191 -0700
|
|
|
|
@@ -23,6 +23,8 @@
|
|
|
|
os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
|
|
|
|
)
|
|
|
|
|
|
|
|
+FEDORA_CA_CERTS = "/etc/pki/tls/certs/ca-bundle.crt"
|
|
|
|
+
|
|
|
|
|
|
|
|
def where():
|
|
|
|
env = os.environ.get("HTTPLIB2_CA_CERTS")
|
|
|
|
@@ -35,7 +37,7 @@
|
|
|
|
return custom_ca_locater_where()
|
|
|
|
if certifi_available:
|
|
|
|
return certifi_where()
|
|
|
|
- return BUILTIN_CA_CERTS
|
|
|
|
+ return FEDORA_CA_CERTS
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|