From 783bbfddcdd53d6e6b06f1ee291bb1cae68699cc Mon Sep 17 00:00:00 2001 From: generalfuzz Date: Wed, 13 May 2020 10:09:36 -0700 Subject: [PATCH] Fix Keystone Centos 8 mod_ssl Keystone was not loading the correct mod_ssl library in centos 8 deployment. Change-Id: I604d675ba7ad28922f360fdc729746f99c1507b4 Partially-Implements: blueprint add-ssl-internal-network --- ansible/roles/keystone/templates/wsgi-keystone.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 index 17399814e0..ec1aa43d2f 100644 --- a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 +++ b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 @@ -6,8 +6,12 @@ {% endif %} {% set binary_path = '/usr/bin' if keystone_install_type == 'binary' else '/var/lib/kolla/venv/bin' %} {% if keystone_enable_tls_backend | bool %} +{% if kolla_base_distro in ['centos'] %} +LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so +{% else %} LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so {% endif %} +{% endif %} Listen {{ api_interface_address | put_address_in_context('url') }}:{{ keystone_public_listen_port }} Listen {{ api_interface_address | put_address_in_context('url') }}:{{ keystone_admin_listen_port }}