Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. opensaml::saml2md::MetadataException error when trying to login via Shibboleth

    opensaml::saml2md::MetadataException error when trying to login via Shibboleth

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Problem Symptoms:
    1. When trying to login, this error displays:

      opensaml::saml2md::MetadataException 

    2. When restarting Shibboleth, in the /var/log/shibboleth/shibd.log the following error is displayed:
      fatal error on line 0, column 0, message: unable to open primary document entity '<location of file>'

    3. When trying to login, in the /var/log/shibboleth/shibd.log the following error is displayed:
      Unable to locate metadata for identity provider

     

    Cause:
    The metadata URL of the IdP is not available and the backup file is not located in its path.

     

    Resolution:
    1. In /etc/shibboleth/shibboleth2.xml make sure that the file configured as the 'backingFilePath' exists under /var/run/shibboleth/ if only the file name is used or under a different path if it is fully specified. 
    2. Check with the IdP provided why the IdP metadata URL configured in the line

       <MetadataProvider type="XML" uri="http://something.com/metadata.xml"

    does not reply.

     

     


    • Article last edited: 6-Jun-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Opening Expected Issues
      • OpenSSL - Vulnerability "FREAK" (CVE-2015-0204)
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. opensaml
      2. Shibboleth
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved