After upgrading my ipa-servers I've gotten this error when trying to delete hosts and checking certificates. I'm not sure what has caused this since the upgrades ran through as expected and returned with an RC of 0.
Anyway, fixing it was straightforward after some debugging and reading other online threads. First, try to run the upgrade again and check where it fails if it fails:
[archy@ipa02 ~]$ sudo ipa-server-upgrade
If the upgrade has run through and did not return any errors, continue by getting the 'requiredSecret' value from '/etc/pki/pki-tomcat/server.xml':
[archy@ipa02 ~]$ egrep -i 'requiredSecret' /etc/pki/pki-tomcat/server.xml
<Connector port="8009" ... requiredSecret="random_generated_string"/>
Now edit the ipa-pki-proxy.conf file and make sure that in every 'ProxyPassMatch' the secret matches the 'random_generated_string' from '/etc/pki/pki-tomcat/server.xml'
[archy@ipa02 ~]$ vim /etc/httpd/conf.d/ipa-pki-proxy.conf
ProxyPassMatch ProxyPassMatch ajp://localhost:8009 secret=random_generated_string
An additional option is to disable TLSv1.3 in '/etc/http/conf.d/ssl.conf' as suggested in this KB 4796941 (not recommended):
[archy@ipa02 ~]$ vim /etc/httpd/conf.d/ssl.conf
SSLProtocol all +TLSv1 +TLSv1.1 +TLSv1.2 -TLSv1.3 -SSLv3
Restart the ipa-services to ensure changes are persistent:
[archy@ipa02 ~]$ ipactl restart
Test deleting a host again:
[archy@ipa02 ~]$ ipa host-del test.archyslife.lan --updatedns; echo $?
-----------------------------------
Deleted host "test.archyslife.lan"
-----------------------------------
0
Feel free to comment and / or suggest a topic.
Comments
Post a Comment