SHIBBOLETH SP – Shibboleth处理程序在未configuration的位置调用 – Shibboleth.sso / Session /

我正在尝试configurationshibboleth。 当我去https://mysite/secure/index.php ,它工作正常,我可以validation等,但是当我去https://mysite/Shibboleth.sso/Status (或任何其他的https://mysite/Shibboleth.sso/* )我得到以下消息:

shibsp :: ConfigurationException的

系统在2017年7月10日12:06:32遇到错误

要报告这个问题,请联系root @ localhost的站点pipe理员。

请在任何电子邮件中包含以下信息:

shibsp :: ConfigurationException( https://mysite/Shibboleth.sso/Session/

Shibboleth处理程序在未configuration的位置调用。

我的shibboleth2.xml如下(注释为简洁起见):

 <SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" clockSkew="1800"> <ApplicationDefaults entityID="https://mysite/shibboleth" REMOTE_USER="eppn"> <Sessions lifetime="28800" timeout="3600" checkAddress="false" relayState="ss:mem" handlerSSL="true" cookieProps="https"> <SSO entityID="https://idp.testshib.org/idp/shibboleth"> SAML2 SAML1 </SSO> <Logout>SAML2 Local</Logout> <Handler type="MetadataGenerator" Location="/Metadata" signing="false"/> <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/> <Handler type="Session" Location="/Session" showAttributeValues="true"/> <Handler type="DiscoveryFeed" Location="/DiscoFeed"/> </Sessions> <Errors supportContact="root@localhost" logoLocation="/shibboleth-sp/logo.jpg" styleSheet="/shibboleth-sp/main.css"/> <MetadataProvider type="XML" uri="http://www.testshib.org/metadata/testshib-providers.xml" backingFilePath="testshib-two-idp-metadata.xml" reloadInterval="180000" /> <AttributeExtractor type="XML" validate="true" path="attribute-map.xml"/> <AttributeResolver type="Query" subjectMatch="true"/> <AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/> <CredentialResolver type="File" key="my_key" certificate="my_cert" extractNames="false"/> </ApplicationDefaults> <SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/> <ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/> </SPConfig> 

我已经检查了我能find的每个configuration文件,我能想到的每个设置。 我打开native.logger和shibd.loggerdebugging模式,但没有发现任何东西。

哪里不对? 或我应该在哪里看?

find答案:

问题实际上是Apacheconfiguration的方式。 这是重写url添加/每个url的末尾。 所以https://mysite/Shibboleth.sso/Session成为https://mysite/Shibboleth.sso/Session/ 。 这总是小事!

由于Apacheconfiguration对于项目的另一部分是必需的,所以我改变了Location属性以在末尾添加一个斜线,并且它完美地工作了! HT Scott Copor在[email protected]邮件列表!