<div dir="ltr">Hi Nate,<div><br></div><div>Thank you for the reply sir. My apologies for the delayed response, I was away from the office. </div><div><br></div><div>Also thank you for the helpful references and extending your hand to help out if needed. </div><div><br></div><div>So looking at line 81 in the metadata-providers.xml file, it's at the very end of the document, actually the first line below the last entry in the document. Right above line 81 is:</div><div><br></div><div><MetadataProvider id="CasMetadata"<br>                      xsi:type="FilesystemMetadataProvider"<br>                      metadataFile="PATH_TO_YOUR_METADATA"<br>                      indexesRef="shibboleth.CASMetadataIndices" /><br>    --><br><br></MetadataProvider><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 21, 2022 at 2:19 PM Nate Klingenstein <<a href="mailto:ndk@signet.id">ndk@signet.id</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Matt,<br>
<br>
> Would this point back to an issue with the IDP-Metadata.xml? I apologize for the multiple questions, I'm new to SAML and it's been a steep learning curve. Looking in the logs I get the following.<br>
<br>
It's no problem.  A willingness to learn and ask questions is the best asset you can have.  Your answer lies in your message and there's not much we can tell you beyond this:<br>
<br>
2022-09-21 06:53:40,045 -  - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] - Service 'shibboleth.MetadataResolverService': Initial load failed<br>
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 81 in XML document from file [C:\Program Files (x86)\Shibboleth\IdP\conf\metadata-providers.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 81; columnNumber: 1; XML document structures must start and end within the same entity.<br>
<br>
You've got something malformed in your XML and it's getting caught by the parser on line 81.  You can try an online validator or even SAMLtest for this one since it's an XML-level error and not a SAML schema error, or you can use a tool ilke xmllint, or whatever else you're comfortable using.<br>
<br>
If you really can't spot the issue, feel free to send me a copy of your metadata off-list and I'll help you debug it.  I do that routinely for people using SAMLtest, which is upwards of 85,000 entities today.<br>
<br>
Take care,<br>
Nate<br>
</blockquote></div>