MCPcopy Index your code
hub / github.com/aws/aws-cli / _setup_ssl_cert

Method _setup_ssl_cert

awscli/botocore/httpsession.py:382–388  ·  view source on GitHub ↗
(self, conn, url, verify)

Source from the content-addressed store, hash-verified

380 return path
381
382 def _setup_ssl_cert(self, conn, url, verify):
383 if url.lower().startswith('https') and verify:
384 conn.cert_reqs = 'CERT_REQUIRED'
385 conn.ca_certs = get_cert_path(verify)
386 else:
387 conn.cert_reqs = 'CERT_NONE'
388 conn.ca_certs = None
389
390 def _setup_proxy_ssl_context(self, proxy_url):
391 proxies_settings = self._proxy_config.settings

Callers 1

sendMethod · 0.95

Calls 1

get_cert_pathFunction · 0.85

Tested by

no test coverage detected