Commit 7c9ab948 authored by Kenneth Giusti's avatar Kenneth Giusti

Skip system CA test on old SSL modules

parent 4cdf5137
......@@ -382,6 +382,8 @@ class APITest(common.Test):
c_props = {}
if use_system_ca_bundle:
if not hasattr(ssl, 'get_default_verify_paths'):
raise common.Skipped("Cannot retrieve system CA file.")
c_props.update({"x-ssl": True})
# Overwrite the SSL_CERT_FILE which is used by OpenSSL to use as a
# CA bundle. This way we don't need a server certificate trusted by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment