Fix octavia ssl service auth
Change-Id: I88979197817f5d3f109c9011461dc23f0d3d2393
Related-PROD: PROD-27153
diff --git a/neutron/files/pike/neutron-server.conf b/neutron/files/pike/neutron-server.conf
index 1ba08d1..75b6508 100644
--- a/neutron/files/pike/neutron-server.conf
+++ b/neutron/files/pike/neutron-server.conf
@@ -2300,7 +2300,10 @@
admin_password = {{ server.identity.password }}
admin_user = {{ server.identity.user }}
admin_tenant_name = {{ server.identity.tenant }}
-auth_url = http://{{ server.identity.host }}:35357/v2.0
+auth_url = {{ server.identity.get('protocol', 'http') }}://{{ server.identity.host }}:35357/v2.0
+{%- if server.identity.get('protocol', 'http') == 'https' %}
+cafile={{ server.identity.get('cacert_file', server.cacert_file) }}
+{%- endif %}
{%- endif -%}
{% if lbaas.engine == "avinetworks" %}