SAML certificate verification failed after upgrade

Hi I’ve upgrade to 5.0.10 and now I’ve this eror:

Traceback (most recent call last):
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1630, in feed
    self.parser.Parse(data, 0)
xml.parsers.expat.ExpatError: syntax error: line 1, column 49

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/__init__.py", line 276, in execute
    ret = execute(umc_module, **kwargs)
  File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/04_saml_certificate_check.py", line 69, in run
    run_keycloak(_umc_instance, keycloak_fqdn, rerun)
  File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/04_saml_certificate_check.py", line 82, in run_keycloak
    for problem in test_identity_provider_certificate_keycloak(sso_fqdn):
  File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/04_saml_certificate_check.py", line 145, in test_identity_provider_certificate_keycloak
    metadata_dom = fromstring(data)
  File "/usr/lib/python3/dist-packages/defusedxml/common.py", line 117, in fromstring
    parser.feed(text)
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1632, in feed
    self._raiseerror(v)
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1531, in _raiseerror
    raise err
  File "", line None
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49

I’ve also ugraded postgres 11 to 15

How can i fix it?
Thnak you regards