<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style><style type="text/css"><!----></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear all,
<div><br>
</div>
<div>I am experimenting Shibboleth SP and IdP (latest versions) on IIS 7/Windows 7 (same machine). I succesfully installed the SP and the IdP and I have been trying to get them communicate each other without success.</div>
<div><br>
</div>
<div>I am getting this error :&nbsp;<span style="font-family: 'Times New Roman'; font-size: medium;"><b>opensaml::saml2md::MetadataException at (https://sp.example.org/secure)</b></span>
<p style="font-family: 'Times New Roman'; font-size: medium;"><b>Unable to locate metadata for identity provider (<a href="https://shibtest.example.com/idp/shibboleth" target="_blank"><font color="#000000">https://shibtest.example.com/idp/shibboleth</font></a>)</b></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><br>
</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">Some precisions on my shibboleth2.xml and relying-party.xml basic configurations are as follow:</p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><b>- shibboleth2.xml (SP)</b></p>
<p><font face="Times New Roman" size="3">&lt;Site id=&quot;1&quot; name=&quot;sp.example.org&quot;/&gt;</font></p>
<p><font face="Times New Roman" size="3">&lt;Host name=&quot;sp.example.org&quot;&gt;</font></p>
<p><font face="Times New Roman" size="3"></p>
<p>&lt;ApplicationDefaults entityID=&quot;https://sp.example.org/shibboleth&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;REMOTE_USER=&quot;eppn persistent-id targeted-id&quot;&gt;</p>
<p></p>
<p>&lt;SSO entityID=&quot;https://shibtest.example.com/idp/shibboleth&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;discoveryProtocol=&quot;SAMLDS&quot; discoveryURL=&quot;https://ds.example.org/DS/WAYF&quot;&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SAML2 SAML1</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/SSO&gt;</p>
<p></p>
<p>&lt;MetadataProvider type=&quot;XML&quot; uri=&quot;http://shibtest.example.com/idp-metadata.xml&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; backingFilePath=&quot;federation-metadata.xml&quot; reloadInterval=&quot;7200&quot;&gt;</p>
<p><br>
</p>
<p>Note: I commented out all metadatfilter inside the metadata element</p>
<p></p>
<p></p>
</font>
<p></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><br>
</p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><b>- relying-party.xml (IdP)</b></p>
<div><br>
<div>
<div>
<p>&lt;metadata:MetadataProvider id=&quot;IdPMD&quot; xsi:type=&quot;metadata:FilesystemMetadataProvider&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;metadataFile=&quot;c:\IDP_HOME/metadata/idp-metadata.xml&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;maxRefreshDelay=&quot;P1D&quot; /&gt;&nbsp;&nbsp;</p>
<p>&lt;metadata:MetadataProvider id=&quot;URLMD&quot; xsi:type=&quot;metadata:FileBackedHTTPMetadataProvider&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; metadataURL=&quot;http://sp.example.org/shibboleth.sso/Metadata&quot;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; backingFile=&quot;c:\IDP_HOME/metadata/some-metadata.xml&quot;&gt;</p>
<p><br>
</p>
<p>I did my best to configure those files, kindly help.</p>
<p style="font-family: Tahoma; font-size: 13px;">&nbsp;</p>
<p style="font-family: Tahoma; font-size: 13px;">Kind regards</p>
<p style="font-family: Tahoma; font-size: 13px;">&nbsp;</p>
<p style="font-family: Tahoma; font-size: 13px;"><br>
</p>
<p style="font-family: Tahoma; font-size: 13px;"><font color="#333333" face="Arial">Gilles Rubens Badouet</font></p>
<p style="font-family: Tahoma; font-size: 13px;">Coventry University</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>