We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ad9c3 commit 6527aa8Copy full SHA for 6527aa8
1 file changed
check_vmware_nsxt.py
@@ -30,6 +30,7 @@
30
along with this program. If not, see <http://www.gnu.org/licenses/>.
31
"""
32
33
+import os
34
import sys
35
import argparse
36
import logging
@@ -65,6 +66,7 @@ def fix_tls_cert_store():
65
66
system_ca_store = ssl.get_default_verify_paths().cafile
67
if os.stat(system_ca_store).st_size > 0:
68
requests.utils.DEFAULT_CA_BUNDLE_PATH = system_ca_store
69
+ requests.adapters.DEFAULT_CA_BUNDLE_PATH = system_ca_store
70
except:
71
pass
72
0 commit comments