<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<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 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 color="000080" face="Courier New">Error 500</font><br>
<font color="000080" face="Courier New">Unable to locate metadata for identity provider <<a 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 color="000080" face="Courier New"><font color="000080">Unable to locate metadata for identity provider (http://idp/idp/shibboleth)</font></font><br>
</blockquote>
I have the following warning in shibd.log:<br>
<blockquote><font color="000080" face="Courier New">WARN Shibboleth.SessionInitiator.SAML2 [1]: unable to locate metadata for provider (http://idp/idp/shibboleth)</font><br>
</blockquote>
Here is the configuration of Shibboleth:<br>
<blockquote><font color="000080" face="Courier New"><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="http://sp/shibboleth"><br>
<br>
        <Sessions lifetime="28800" timeout="3600" relayState="ss:mem"<br>
                  checkAddress="false" handlerSSL="false" cookieProps="http"><br>
<br>
            <SSO entityID="http://idp/idp/shibboleth" 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="http://192.168.52.10/Shibboleth.sso/Metadata"<br>
              backingFilePath="/var/cache/shibboleth/idp.xml" reloadInterval="7200"><br>
        </MetadataProvider><br>
<br>
        <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="http://idp/shibboleth"><br>
           <Sessions lifetime="28800" timeout="3600" checkAddress="false"<br>
           relayState="ss:mem" handlerSSL="false"><br>
<br>
            <SSO entityID="https://idp/idp/shibboleth" ECP="true"><br>
                SAML2 SAML1<br>
            </SSO><br>
<br>
            <Logout>SAML2 Local</Logout><br>
           </Sessions><br>
<br>
           <MetadataProvider type="XML" uri="http://192.168.52.10/Shibboleth.sso/Metadata"<br>
             backingFilePath="/var/cache/shibboleth/idp.xml"<br>
             reloadInterval="180000" /><br>
<br>
        </ApplicationOverride><br>
    </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 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 color="000080" face="Courier New">IDP.xml<font color="000000" face="Tahoma"> 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></body>
</html>