<div dir="ltr"><div class="gmail-adn gmail-ads"><div class="gmail-gs"><div class="gmail-"><div id="gmail-:1vg" class="gmail-ii gmail-gt"><div id="gmail-:1vh" class="gmail-a3s gmail-aXjCH"><div dir="ltr"><div><span><span>Hello,</span></span></div><div><span><span><br></span></span></div><div><span><span>I
 am setting up a Service Provider and have a question about Metadata 
best practices. Thus far, I have been using the MetadataGeneration 
Handler at /Shibboleth.sso/Metadata in my testing.<br></span></span></div><div><span><span><br></span></span></div><div><span><span>However, the documentation for that handler states that:</span></span></div><div><span><span><br></span></span></div><div><span><span>"</span></span>The purpose of this handler is NOT to supply other 
systems with production metadata but rather to assist with testing, and 
generation of metadata examples useful in understanding how to produce 
actual metadata. Mature deployments will often require metadata content 
that goes beyond what the handler can generate, and directly coupling 
metadata to a configuration makes certain configuration changes more 
likely to cause service disruption."</div><div>Source:<span><span> <a href="https://wiki.shibboleth.net/confluence/display/SP3/Metadata+Generation+Handler" target="_blank">https://wiki.shibboleth.net/confluence/display/SP3/Metadata+Generation+Handler</a></span></span></div><div><br></div><div>What
 is considered the best practice when moving to "static" (not-generated)
 Metadata? I'm using Shibboleth with Apache. Could I place my 
metadata.xml inside /var/www/html/shibboleth/, and share the deployed 
link to that location with Identity Providers (<a href="http://my.domain.com/shibboleth/metadata.xml" target="_blank">https://my.domain.com/shibboleth/metadata.xml</a>)?<br><br></div><div>If
 this is a correct approach, should I set my entityID to reflect the 
location of the Metadata, or would it be better to set it point to, 
e.g., <a href="https://my.domain.com/Shibboleth.sso" target="_blank">https://my.domain.com/Shibboleth.sso</a>?</div><div><br></div><div>Would be very grateful for any insights.</div><div><br></div><div>Thank you,</div><div><br></div><div>David</div><div class="gmail-adL"><br></div></div><div class="gmail-adL">
</div></div></div></div></div></div><div class="gmail-gA gmail-gt gmail-acV"><div class="gmail-gB gmail-xu"><div class="gmail-ip gmail-iq"><div id="gmail-:1vf"><table class="gmail-cf gmail-wS"><tbody><tr><td class="gmail-amq"><img id="gmail-:kf_495" name=":kf" src="https://ssl.gstatic.com/ui/v1/icons/mail/no_photo.png" class="gmail-ajn gmail-bofPge"></td><td class="gmail-amr"><br></td></tr></tbody></table></div></div></div></div></div>