Ipa-server broken after upgrading RL 9.5 to 9.6

Got a running IPA-Server it is starting to integrate in with other server.

Before making some changes, decided to make an update. After doing so, the system coud not start again.
The upgrade procedure ended with error

….
IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. Unexpected error - see /var/log/ipaupgrade.log for details: RemoteRetrieveError: Failed to authenticate to CA REST API The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information See the upgrade log for more details and/or run /usr/sbin/ipa-server-upgrade again
…

After wasting some time with claude.ai, decided to search in google … and found the answer in reddit whic references a redhat.como forum entry.

1. Symlinked
   /usr/share/pki/server/conf/Catalina/localhost/rewrite.config
   to
   /etc/pki/pki-tomcat/Catalina/localhost/rewrite.config

2. Edited /etc/pki/pki-tomcat/server.xml and added in line 133 (almost at the end):

        <Valve className="org.apache.catalina.valves.rewrite.RewriteValve"/>

for your refference, both links below

Hope this help someone else.

Regards

1 Like