Fix SSL logic in keystone-httpd.conf.j2
Defining SSL parameters has nothing to do with keystone_service_internaluri_proto. It should not be taken into consideration there. Theoretically speaking, environment can have TLS disabled on frontend but enabled on backend. Change-Id: I81b66a7388c335958badf7135f4289c3423cb229
This commit is contained in:
parent
2378e452ad
commit
b73bcd9981
@ -26,7 +26,7 @@ Listen {{ keystone_web_server_bind_address }}:{{ keystone_service_port }}
|
||||
RequestHeader set {{ keystone_secure_proxy_ssl_header }} "http"
|
||||
{% endif %}
|
||||
|
||||
{% if keystone_backend_ssl | bool and keystone_service_internaluri_proto == "https" -%}
|
||||
{% if keystone_backend_ssl | bool -%}
|
||||
SSLEngine on
|
||||
SSLCertificateFile {{ keystone_ssl_cert }}
|
||||
SSLCertificateKeyFile {{ keystone_ssl_key }}
|
||||
|
Loading…
Reference in New Issue
Block a user