Task 15: Download the IdM metadata

After the IdM server is started, the IdM metadata is generated and can be downloaded from the IdM service URL.

To download the IdM metadata, follow these steps:

  1. Open the <idm-service>\WEB-INF\web.xml file in a text editor.
  2. Comment out the following servlet.

    <servlet>
         <servlet-name>default</servlet-name>
         <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
         <init-param>
            <param-name>dirAllowed</param-name>
            <param-value>false</param-value>
         </init-param>
         <load-on-startup>0</load-on-startup>
    </servlet>
  3. Start the IdM service web application server. In this example, start Tomcat.
  4. Open the IdM service URL in a browser:

    https://<IdM host FQDN>:<https port>/idm-service/saml/metadata

    For example: https://myhost.mycompany.net:9443/idm-service/saml/metadata

    If the IdM service deployment is successful, the IdM metadata is displayed correctly, as shown in the following figure.

  5. Download the metadata as metadata.xml from the browser. 

    Note Later, you will need to import the metadata to the IdP when creating a trust relationship with the IdP.