92b1d408b8
In order to force requests module inside venvs to trust system-trusted certificate authorities, we need to define environment variable that will provide full path to CA file. Otherwise certifi provided file will be used, that can't be updated with new CA once they're added to system trust store. Change-Id: I79446813602ae094bb788d3c29654fb814ec19a8
8 lines
236 B
Django/Jinja
8 lines
236 B
Django/Jinja
PATH="{{ openstack_host_environment_path | join(':') }}"
|
|
REQUESTS_CA_BUNDLE="{{ openstack_ca_bundle_path }}"
|
|
{% for key, value in global_environment_variables.items() %}
|
|
{% if value %}
|
|
{{ key }}={{ value }}
|
|
{% endif %}
|
|
{% endfor %}
|