Creating a Metadata file for your Service Provider (SP)
If you've gotten this far, you have probably already chosen an Entity ID. If you have not, please see the Choosing your Shibboleth Entity ID
What you should have finished so far
Before you continue with this page, you should have your shibboleth2.xml
file created and configured.
You should also have your application server Apache
configured for shibboleth.
Downloading the Metadata template for your server
When creating your metadata file, it's best to start with the SP generated Metadata and then customize it with your settings. The SP auto-generated metadata file will not work as is. You must
To get a copy of the file, you can use wget, curl, or a browser. Be sure that you use the protocol (http or https) and server name that browsers will access. The Shibboleth SP uses these values when generating the endpoint URLs in the metadata.
Customizing the Metadata file By adding Contact Information
To customize the metadata XML file, add the following information after the <md:SPSSODescriptor> section. Usually this is right before the second to the last line.
If your organization contains reserved XML characters such as ampersand (&), greater than (>), or less than (<), be sure to escape them (& > or < respectively).
<md:OrganizationName xml:lang="en">University of Minnesota, Department of Long Nomenclature</md:OrganizationName>
<md:OrganizationDisplayName xml:lang="en">Department of Long Nomenclature</md:OrganizationDisplayName>
If you want to enable the guest account link on the login page, see the UMN IdP documention for Guest Accounts
Adding additional servers
If you have more than one virtual (or physical) host sharing this entityID, you'll need to add endpoints for the other hostnames or you'll get the dreading Application Configuration Error from the IdP when you try to access them. See AddAdditionalServersToMetadata
Publishing your metadata
After you have your metadata file created, you may want to publish it to the Entity ID URL that you chose at the beginning of this process.
Example real live metadata file
You may browse these actual metadata files for reference. They are available here:
They contain examples of additional virtual hosts in a single entityID.