Merge "[pike] Define cafile if ssl is enabled"
diff --git a/octavia/files/pike/octavia_api.conf b/octavia/files/pike/octavia_api.conf
index 7c40614..e5c05bd 100644
--- a/octavia/files/pike/octavia_api.conf
+++ b/octavia/files/pike/octavia_api.conf
@@ -962,7 +962,7 @@
 
 # The auth_url is the admin endpoint actually used for validating tokens
 #auth_url = <None>
-auth_url=http://{{ api.identity.host }}:35357
+auth_url={{ api.identity.get('protocol', 'http') }}://{{ api.identity.host }}:35357
 
 # API version of the admin Identity API endpoint. (string value)
 #auth_version = <None>
diff --git a/octavia/files/pike/octavia_manager.conf b/octavia/files/pike/octavia_manager.conf
index 9bb8174..d5c0ec3 100644
--- a/octavia/files/pike/octavia_manager.conf
+++ b/octavia/files/pike/octavia_manager.conf
@@ -1009,7 +1009,7 @@
 
 # The auth_url is the admin endpoint actually used for validating tokens
 #auth_url = <None>
-auth_url=http://{{ manager.identity.host }}:35357
+auth_url={{ manager.identity.get('protocol', 'http') }}://{{ manager.identity.host }}:35357
 
 # API version of the admin Identity API endpoint. (string value)
 #auth_version = <None>