NAM 4.4.3 SAML2 metadata text import reports XML is malformed on element X509Certificate

  • 7023791
  • 23-Mar-2019
  • 09-Dec-2019

Environment

  • Access Manager 4.3
  • Access Manager 4.4.x
  • Access Manager 4.5
  • Access Manager 4.5.1

Situation

  • Importing SAML2 Service Provider metadata fails with:

    Error:  The XML is malformed.
    The element type "X509Certificate" must be terminated by the matching end-tag "</X509Certificate>". 

Resolution

  • This issue has been addressed to engineering

  • As a workaround place the metadata xml file on a web server and use the Metadata URL import instead of running the Text import (posting the metadata by  the browser client)

Cause

The metadata import fails on parsing the included certificate