<div dir="ltr">Thank you Rod, as you mentioned that we don&#39;t have &quot;<span style="font-size:12.8000001907349px">defaultSigningCredential&quot; and we have the profiles with signAssertions=&quot;never&quot; signResponses=&quot;never&quot;.</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Please look into the following our defaultRelyingPatry configuration, it hink which is not secure:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><div style><span style="font-size:12.8000001907349px">&lt;DefaultRelyingParty provider=&quot;<a href="https://idp.example.org/idp/shibboleth">https://idp.example.org/idp/shibboleth</a>&quot;&gt;</span></div><div style><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">        </span>   </span></div><div style><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">        </span>   &lt;!-- defaultSigningCredentialRef=&quot;IdPCredential&quot;--&gt;</span></div><div style><span style="font-size:12.8000001907349px">       </span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:ShibbolethSSOProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              includeAttributeStatement=&quot;false&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionLifetime=&quot;1800000&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signResponses=&quot;never&quot;                              </span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot; /&gt;</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:SAML1AttributeQueryProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionLifetime=&quot;1800000&quot;                              </span></div><div style><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">                                                        </span>  signResponses=&quot;never&quot; <span class="" style="white-space:pre">                                                        </span>  </span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot; /&gt;</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:SAML1ArtifactResolutionProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signResponses=&quot;never&quot;<span class="" style="white-space:pre">                                                        </span>  </span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot; /&gt;</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:SAML2SSOProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              includeAttributeStatement=&quot;true&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionLifetime=&quot;1800000&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionProxyCount=&quot;0&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signResponses=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">                              </span>encryptAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              encryptNameIds=&quot;never&quot; /&gt;</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:SAML2AttributeQueryProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionLifetime=&quot;1800000&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              assertionProxyCount=&quot;0&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signResponses=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              encryptAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              encryptNameIds=&quot;never&quot; /&gt;</span></div><div style><span style="font-size:12.8000001907349px"><br></span></div><div style><span style="font-size:12.8000001907349px">        &lt;ProfileConfiguration xsi:type=&quot;saml:SAML2ArtifactResolutionProfile&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signResponses=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              signAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              encryptAssertions=&quot;never&quot;</span></div><div style><span style="font-size:12.8000001907349px">                              encryptNameIds=&quot;never&quot;/&gt;</span></div><div style><span style="font-size:12.8000001907349px">    &lt;/DefaultRelyingParty&gt;</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">In the above code we are not using &#39;signing&#39; and &#39;encryption&#39; for saml transmission. Even though we are not using any of the &#39;signing&#39; and &#39;encryption&#39; seen above, we use &lt;X:509 certificate&gt;in idp-meatadata.xml.</div><div class="gmail_extra">1) What might be the purpose of &lt;X:509-Certificate&gt; in the idp-metadata.xml?</div><div class="gmail_extra"><br></div><div class="gmail_extra"> 2) Are we done improper configuration or Is it because of using own SP not from Shibboleth?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for your valuable time.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 1:10 PM, Rod Widdowson <span dir="ltr">&lt;<a href="mailto:rdw@steadingsoftware.com" target="_blank">rdw@steadingsoftware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">&gt; We have the lines in relying-party.xml which are commented out like below.<br>
&gt;<br>
&gt; &lt;!-- security:Credential id=&quot;IdPCredential&quot; xsi:type=&quot;security:X509Filesystem&quot; --<br>
&gt; &gt;<br>
&gt;         &lt;!-- security:PrivateKey&gt;d:\IdP/credentials/idp.key&lt;/security:PrivateKey--&gt;<br>
&gt;         &lt;!-- security:Certificate&gt;d:\IdP/credentials/idp.crt&lt;/security:Certificate--&gt;<br>
&gt;     &lt;!-- /security:Credential--&gt;<br>
<br>
</span>So you (probably) have *no* *signing* on your IdP.  I&#39;d assume that your &lt;DefaultRelyingParty&gt; does *not* does not have a defaultSigningCredential and all the profiles specify<br>
signAssertions=&quot;never&quot; and signResponses=&quot;never&quot;.<br>
<br>
This is weird, and almost certainly insecure against many threat models, but quite possible.<br>
<br>
If any of these are not true then you need to find the security:Credential with the id the same as the value for defaultSigningCredential (on DefaultRelyingParty) or signingCredentialRef (on the &lt;ProfileConfiguration&gt;)<br>
<br>
 Note that this does not preclude your IdP from encrypting (because it uses the SP certificate)<br>
<span class=""><br>
&gt; It seems we are not using the above lines in our configuration. but in &quot;idp-<br>
&gt; metadata.xml&quot; we have the certificate copied like below:<br>
&gt;  &lt;IDPSSODescriptor protocolSupportEnumeration=&quot;urn:mace:shibboleth:1.0<br>
&gt; urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol&quot;&gt;<br>
<br>
</span>That is quite feasible.  The metadata is generated during the installation from information that is gathered then and it is *NEVER UPDATED*.<br>
<span class=""><font color="#888888"><br>
Rod<br>
</font></span><div class=""><div class="h5"><br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div></div></div>