diff --git a/jans-linux-setup/jans_setup/setup_app/data/package_list.json b/jans-linux-setup/jans_setup/setup_app/data/package_list.json index e66266fb9e6..dc3a517075a 100644 --- a/jans-linux-setup/jans_setup/setup_app/data/package_list.json +++ b/jans-linux-setup/jans_setup/setup_app/data/package_list.json @@ -1,47 +1,47 @@ { "red 7": { "optional": "", - "mondatory": "httpd httpd-mod_ssl curl wget tar xz unzip rsyslog bzip2", + "mondatory": "httpd httpd-mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"} }, "red 8": { "optional": "", - "mondatory": "httpd mod_ssl curl wget tar xz unzip rsyslog bzip2", + "mondatory": "httpd mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"} }, "centos 7": { "optional": "", - "mondatory": "httpd mod_ssl curl wget tar xz unzip bzip2 rsyslog ", + "mondatory": "httpd mod_ssl curl mod_auth_openidc wget tar xz unzip bzip2 rsyslog ", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"} }, "centos 8": { "optional": "", - "mondatory": "httpd mod_ssl curl wget tar xz unzip rsyslog bzip2", + "mondatory": "httpd mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"} }, "suse 15": { "optional": "", - "mondatory": "apache2 curl wget tar xz unzip rsyslog bzip2", + "mondatory": "apache2 apache2-mod_auth_openidc curl wget tar xz unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"} }, "debian 10": { "optional": "", - "mondatory": "apache2 curl wget tar xz-utils unzip rsyslog bzip2", + "mondatory": "apache2 libapache2-mod-auth-openidc curl wget tar xz-utils unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"} }, "debian 9": { "optional": "", - "mondatory": "apache2 curl wget tar xz-utils unzip rsyslog bzip2", + "mondatory": "apache2 libapache2-mod-auth-openidc curl wget tar xz-utils unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"} }, "ubuntu 18": { "optional": "", - "mondatory": "apache2 curl wget xz-utils unzip rsyslog net-tools bzip2", + "mondatory": "apache2 libapache2-mod-auth-openidc curl wget xz-utils unzip rsyslog net-tools bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"} }, "ubuntu 20": { "optional": "", - "mondatory": "apache2 curl wget xz-utils unzip rsyslog bzip2", + "mondatory": "apache2 libapache2-mod-auth-openidc curl wget xz-utils unzip rsyslog bzip2", "python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"} } } diff --git a/jans-linux-setup/jans_setup/setup_app/installers/httpd.py b/jans-linux-setup/jans_setup/setup_app/installers/httpd.py index bf12c476b31..f76c649172c 100644 --- a/jans-linux-setup/jans_setup/setup_app/installers/httpd.py +++ b/jans-linux-setup/jans_setup/setup_app/installers/httpd.py @@ -84,7 +84,7 @@ def configure(self): self.copyFile(tmp_fn, self.server_root) # we only need these modules - mods_enabled = ['env', 'log_config', 'proxy', 'proxy_http', 'access_compat', 'alias', 'authn_core', 'authz_core', 'authz_host', 'headers', 'mime', 'mpm_event', 'proxy_ajp', 'security2', 'reqtimeout', 'setenvif', 'socache_shmcb', 'ssl', 'unique_id', 'rewrite', 'mod_dir'] + mods_enabled = ['env', 'log_config', 'proxy', 'proxy_http', 'access_compat', 'alias', 'authn_core', 'authz_core', 'authz_host', 'headers', 'mime', 'mpm_event', 'proxy_ajp', 'security2', 'reqtimeout', 'setenvif', 'socache_shmcb', 'ssl', 'unique_id', 'rewrite', 'mod_dir', 'auth_openidc'] cmd_a2enmod = shutil.which('a2enmod') cmd_a2dismod = shutil.which('a2dismod')