<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-US" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">Shibboleth 3.1.2.1 64-bit</p><p class="MsoNormal">Windows Server 2012 R2</p><p class="MsoNormal">java version "1.8.0_65" (Oracle JDK)</p><p class="MsoNormal"> </p><p class="MsoNormal">Shibboleth installed in C:\Program Files (x86)\Shibboleth via installer (install Jetty checked).</p><p class="MsoNormal"> </p><p class="MsoNormal">I'm trying to configure Shib 3.x to emulate what was working in Shib 2.x to use production credentials on a dev system for InCommon SPs. The configuration is pretty vanilla with this being the only exception.</p><p class="MsoNormal"> </p><p class="MsoNormal">While I started with RelyingPartyByTag, I had problems so I backed down to just trying to get one SP to work for testing purposes. I was able to get it to work when it was configured as the DefaultRelyingParty, but not as an override. The following are what I think are the relevant bits for the failing scenario:</p><p class="MsoNormal"> </p><p class="MsoNormal">credentials.xml:</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-family:"Courier New""><bean id="ProductionSigningCredential" parent="shibboleth.DefaultSigningCredential"</span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    p:privateKeyResource="C:\Program Files (x86)\Shibboleth\IdP\credentials\prod-idp-signing.key"</span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    p:certificateResource="C:\Program Files (x86)\Shibboleth\IdP\credentials\prod-idp-signing.crt"</span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    p:entityId="<production entityID>" /></span></p><p class="MsoNormal"> </p><p class="MsoNormal">relying-party.xml:</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-family:"Courier New""><bean id="ProductionSecurityConfig" parent="shibboleth.DefaultSecurityConfiguration"></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    <property name="signatureSigningConfiguration"></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">        <bean parent="shibboleth.SigningConfiguration.SHA256" p:signingCredentials-ref="ProductionSigningCredential" /></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    </property></span></p><p class="MsoNormal"><span style="font-family:"Courier New""></bean></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> </span></p><p class="MsoNormal"><span style="font-family:"Courier New""><util:list id="shibboleth.RelyingPartyOverrides"></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">      <bean parent="RelyingPartyByName" c:relyingPartyIds="<SP entityID>" p:responderId="<production entityID>" ></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">          <property name="profileConfigurations"></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">              <list></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">                  <bean parent="SAML2.SSO" p:securityConfiguration-ref="ProductionSecurityConfig" p:encryptAssertions="false" />   </span></p><p class="MsoNormal"><span style="font-family:"Courier New"">              </list></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">          </property></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">      </bean></span></p><p class="MsoNormal"><span style="font-family:"Courier New""></util:list></span></p><p class="MsoNormal"> </p><p class="MsoNormal">I get an "Unable to establish security of incoming assertion" error which is not surprising given that the issuer in the response is the installation default not the responderId.</p><p class="MsoNormal"> </p><p class="MsoNormal">However, if I take basically the same configuration and make it the DefaultRelyingParty as below, it works:</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-family:"Courier New""><bean id="shibboleth.DefaultRelyingParty" parent="RelyingParty" p:responderId="<production entityID>" ></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    <property name="profileConfigurations"></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">        <list></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">            <bean parent="SAML2.SSO" p:securityConfiguration-ref="ProductionSecurityConfig" p:encryptAssertions="false" /></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">        </list></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">    </property></span></p><p class="MsoNormal"><span style="font-family:"Courier New""></bean></span></p><p class="MsoNormal"> </p><p class="MsoNormal">This behavior would lead me to believe that I'm not understanding override fundamentals (which wouldn't surprise me since I've never written a "hello world" Java program). Any enlightenment would be appreciated.</p><p class="MsoNormal">Thanks.</p><p class="MsoNormal"> </p><p class="MsoNormal">--Dave</p><p class="MsoNormal"> </p></div></body></html>