<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 01.03.2016 10:31,
      <a class="moz-txt-link-abbreviated" href="mailto:thomas.duval@orange.com">thomas.duval@orange.com</a> wrote:<br>
    </div>
    <blockquote
cite="mid:30310_1456824704_56D56180_30310_14530_1_AFCCB845E7A09740B29C91C64823F9EC1314FA06@OPEXCNORM53.corporate.adroot.infra.ftgroup"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">Hello Everybody,<br>
        <br>
        I try to configure identity federation between 2 Keystones and I
        have some difficulties. I mainly followed this guide
        <a moz-do-not-send="true"
href="https://exchange-eme3.itn.ftgroup/owa/redir.aspx?REF=T9Q2NhKlOJYyKta69Mjleg2nx0duNoKaJpdWYye5liRiZs0WtEHTCAFodHRwOi8vZG9jcy5vcGVuc3RhY2sub3JnL2RldmVsb3Blci9rZXlzdG9uZS9jb25maWd1cmVfZmVkZXJhdGlvbi5odG1s"
          target="_blank">
http://docs.openstack.org/developer/keystone/configure_federation.html</a>
        and when I want to test the federated authentication on the
        Service Provider (GET
        /v3/OS-FEDERATION/identity_providers/master/protocols/saml2/auth),
        I have the following response :<br>
        <blockquote><font face="Courier New" color="000080">Error 500</font><br>
          <font face="Courier New" color="000080">Unable to locate
            metadata for identity provider <<a moz-do-not-send="true"
href="https://exchange-eme3.itn.ftgroup/owa/redir.aspx?REF=vo4Mc6JYAdVMJEJHzj2xytyuoUXIFN-Ncj0VpdqxDEtiZs0WtEHTCAFodHRwOi8vaWRwL2lkcC9zaGliYm9sZXRo"
              target="_blank">http://idp/idp/shibboleth</a>></font><br>
        </blockquote>
        The only error in keystone.log is:<br>
        <blockquote><font face="Courier New" color="000080"><font
              color="000080">Unable to locate metadata for identity
              provider (<a class="moz-txt-link-freetext" href="http://idp/idp/shibboleth">http://idp/idp/shibboleth</a>)</font></font><br>
        </blockquote>
        I have the following warning in shibd.log:<br>
        <blockquote><font face="Courier New" color="000080">WARN
            Shibboleth.SessionInitiator.SAML2 [1]: unable to locate
            metadata for provider (<a class="moz-txt-link-freetext" href="http://idp/idp/shibboleth">http://idp/idp/shibboleth</a>)</font><br>
        </blockquote>
        Here is the configuration of Shibboleth:<br>
        <blockquote><font face="Courier New" color="000080"><SPConfig
            xmlns="urn:mace:shibboleth:2.0:native:sp:config"<br>
                xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"<br>
                xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"<br>
                xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"    <br>
                xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"<br>
                clockSkew="180"><br>
            <br>
                <ApplicationDefaults
            entityID=<a class="moz-txt-link-rfc2396E" href="http://sp/shibboleth">"http://sp/shibboleth"</a>><br>
            <br>
                    <Sessions lifetime="28800" timeout="3600"
            relayState="ss:mem"<br>
                              checkAddress="false" handlerSSL="false"
            cookieProps="http"><br>
            <br>
                        <SSO entityID=<a class="moz-txt-link-rfc2396E" href="http://idp/idp/shibboleth">"http://idp/idp/shibboleth"</a>
            ECP="true"><br>
                          SAML2 SAML1<br>
                        </SSO><br>
            <br>
                        <Logout>SAML2 Local</Logout><br>
                        <br>
                        <Handler type="MetadataGenerator"
            Location="/Metadata" signing="false"/><br>
            <br>
                        <Handler type="Status" Location="/Status"
            acl="127.0.0.1 ::1"/><br>
            <br>
                        <Handler type="Session" Location="/Session"
            showAttributeValues="false"/><br>
            <br>
                        <Handler type="DiscoveryFeed"
            Location="/DiscoFeed"/><br>
                    </Sessions><br>
            <br>
                    <Errors supportContact="root@localhost"<br>
                        helpLocation="/about.html"<br>
                        styleSheet="/shibboleth-sp/main.css"/><br>
                    <br>
                <MetadataProvider type="XML"
            uri=<a class="moz-txt-link-rfc2396E" href="http://192.168.52.10/Shibboleth.sso/Metadata">"http://192.168.52.10/Shibboleth.sso/Metadata"</a><br>
                         
            backingFilePath="/var/cache/shibboleth/idp.xml"
            reloadInterval="7200"><br>
                    </MetadataProvider><br>
            <br>
          </font></blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    What if you try to set IdP FQDN here instead of IP address? <br>
    Something like <a class="moz-txt-link-freetext" href="http://idp/idp/Shibboleth.sso/Metadata">http://idp/idp/Shibboleth.sso/Metadata</a><br>
    <br>
    Also, make sure that this URI is reachable for your Service Provider<br>
    <br>
    <blockquote
cite="mid:30310_1456824704_56D56180_30310_14530_1_AFCCB845E7A09740B29C91C64823F9EC1314FA06@OPEXCNORM53.corporate.adroot.infra.ftgroup"
      type="cite">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <blockquote><font face="Courier New" color="000080">
                    <MetadataProvider type="XML" file="IDP.xml"/><br>
            <br>
                    <AttributeExtractor type="XML" validate="true"
            reloadChanges="false" path="attribute-map.xml"/><br>
                    <br>
                    <AttributeResolver type="Query"
            subjectMatch="true"/><br>
            <br>
                    <AttributeFilter type="XML" validate="true"
            path="attribute-policy.xml"/><br>
            <br>
                    <CredentialResolver type="File" key="sp-key.pem"
            certificate="sp-cert.pem"/><br>
            <br>
                    <ApplicationOverride id="master"
            entityID=<a class="moz-txt-link-rfc2396E" href="http://idp/shibboleth">"http://idp/shibboleth"</a>><br>
                       <Sessions lifetime="28800" timeout="3600"
            checkAddress="false"<br>
                       relayState="ss:mem" handlerSSL="false"><br>
            <br>
                        <SSO entityID=<a class="moz-txt-link-rfc2396E" href="https://idp/idp/shibboleth">"https://idp/idp/shibboleth"</a>
            ECP="true"><br>
                            SAML2 SAML1<br>
                        </SSO><br>
            <br>
                        <Logout>SAML2 Local</Logout><br>
                       </Sessions><br>
            <br>
                       <MetadataProvider type="XML"
            uri=<a class="moz-txt-link-rfc2396E" href="http://192.168.52.10/Shibboleth.sso/Metadata">"http://192.168.52.10/Shibboleth.sso/Metadata"</a><br>
                         backingFilePath="/var/cache/shibboleth/idp.xml"<br>
                         reloadInterval="180000" /><br>
            <br>
                    </ApplicationOverride><br>
          </font></blockquote>
      </div>
    </blockquote>
    <br>
    I m not sure if you need this <ApplicationOverride> object. <br>
    <br>
    <blockquote
cite="mid:30310_1456824704_56D56180_30310_14530_1_AFCCB845E7A09740B29C91C64823F9EC1314FA06@OPEXCNORM53.corporate.adroot.infra.ftgroup"
      type="cite">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <blockquote><font face="Courier New" color="000080">
                </ApplicationDefaults><br>
                <br>
                <SecurityPolicyProvider type="XML" validate="true"
            path="security-policy.xml"/><br>
            <br>
                <ProtocolProvider type="XML" validate="true"
            reloadChanges="false" path="protocols.xml"/><br>
            <br>
            </SPConfig></font><br>
        </blockquote>
        The <a moz-do-not-send="true"
href="https://exchange-eme3.itn.ftgroup/owa/redir.aspx?REF=jI0ANg_5uqXLZ2PC_HhAlkGcg1eJaTXtg7_2GCWwp8fDx88WtEHTCAFodHRwOi8vMTkyLjE2OC41Mi4xMC9TaGliYm9sZXRoLnNzby9NZXRhZGF0YQ.."
          target="_blank">
          http://192.168.52.10/Shibboleth.sso/Metadata</a> url is
        working and give me the metadata of the Identity Provider. The
        file
        <font face="Courier New" color="000080">IDP.xml<font
            face="Tahoma" color="000000"> was retrieve from the same URL
            and put in the directory /etc/shibboleth.<br>
            <br>
            <font color="000000">Both OpenStack servers was installed
              from DevStack (branch stable/<font color="000000">l</font>iberty)
              on Ub<font color="000000">u<font color="000000">ntu<font
                    color="000000"> trusty</font></font></font>.</font><br>
            <br>
            <font color="000000">Does s<font color="000000">omeone <font
                  color="000000">face the same pro<font color="000000">b</font>lem<font
                    color="000000">?</font></font></font></font><br>
          </font></font><br>
        Cheers.<br>
        <br>
        <font size="2">
          <div class="PlainText">--<br>
            <b>Thomas</b></div>
        </font></div>
      <pre>_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Marek Denis
[<a class="moz-txt-link-abbreviated" href="mailto:marek.denis@cern.ch">marek.denis@cern.ch</a>]</pre>
  </body>
</html>