freeipa/ipatests/test_ipaserver
Rob Crittenden 7572174175 Remove extraneous AJP secret from server.xml on upgrades
PKI 10.10 unconditionally added an upgrade script for the AJP
connector which replaced the AJP secret regardless of tomcat
version.  It replaced requiredSecret with secret. IPA expects
the attribute by version so this could make the secrets out of
date and/or have connectors with both secrets and different
values.

PKI commit e70373ab131aba810f318c1d917896392b49ff4b has since
been reverted but there may be servers with both secrets still.
On next IPA upgrade clean them up.

Also allow re-writing ipa-pki-proxy.conf in case the secret
changes to ensure they remain in sync.

Fixes: https://pagure.io/freeipa/issue/9176

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2022-06-14 15:54:50 +03:00
..
data ipa-otptoken-import: Make PBKDF2 refer to the pkcs5 namespace 2017-09-01 10:50:34 +02:00
test_install pylint: Fix useless-suppression 2022-03-11 13:37:08 -05:00
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
httptest.py pylint: Fix useless-suppression 2022-03-11 13:37:08 -05:00
test_adtrust_mockup.py pytest: Migrate unittest/nose to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_changepw.py pytest: Migrate unittest/nose to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_dnssec.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
test_i18n_messages.py Add tests for "i18n_messages" end point 2018-07-17 15:32:28 -04:00
test_ipap11helper.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_jsplugins.py ipatests: Skip test_jsplugins in server less environments 2021-03-30 13:16:36 +03:00
test_kadmin.py ipa-kdb: test kadmin.local getprincs command 2020-09-10 11:57:14 -04:00
test_ldap.py Silence W601 .has_key() is deprecated 2020-05-05 10:42:46 +02:00
test_migratepw.py pytest: Migrate xunit-style setups to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_otptoken_import.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_rpcserver.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_secrets.py pytest: Migrate unittest/nose to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_secure_ajp_connector.py Remove extraneous AJP secret from server.xml on upgrades 2022-06-14 15:54:50 +03:00
test_serverroles.py Use api.env.container_sysaccounts 2020-04-28 11:28:29 +02:00
test_topology_plugin.py ds: Support renaming of a replication plugin in 389-ds 2021-06-01 17:09:28 +03:00
test_version_comparison.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00