<div dir="ltr"><div>I've deployed an SP without any problem for quite a while.<br></div>Now I am trying to configure a "logical SP's" on the same physical SP installation, <div>with a new vhost that is only different on the port number.</div><div><div>The metadata for the new logical SP is created by simply copying the original one</div><div>and modifying the entityID and endpoints, which means the same key pair is used.</div><div>Also in the ApplicationOverride setting, the same pair of key/cert files are used.</div><div>(In fact, I believe CredentialResolver can be ignored here, thanks to inheritance)</div><div><br></div><div>Their entityID's are as follow:</div><div><br></div><div>    the original: <a href="https://my.host.name/shibboleth">https://my.host.name/shibboleth</a><br></div><div>    the new one: <a href="https://my.host.name/shibboleth/app1">https://my.host.name/shibboleth/app1</a><br></div><div><br></div><div>The original SP still works well.</div><div>But with the new one, I encounter a problem:</div><div>After a valid authentication process, the IdP sends back the assertion,</div><div>but the new logical SP fails to decrypt it, with the following error message:</div><div><br></div><div>    failed to decrypt assertion: Unable to locate an encrypted key.<br></div><div><br></div><div>Just in case, I've tried analyzing the certificate, and there is a statement:</div><div><br></div><div><div>X509v3 extensions:</div><div>            X509v3 Subject Alternative Name:</div><div>                DNS:<a href="http://zimbra.ntin.edu.tw">zimbra.ntin.edu.tw</a>, URI:<a href="https://my.host.name/shibboleth">https://my.host.name/shibboleth</a></div></div><div><br></div><div>Has anyone encountered the same problem before?</div><div><br></div><div><div><br></div></div></div></div>