0

访问 URL 时出现错误,我最近更新/加密了元数据 xml 文件。:

opensaml::BindingException
The system encountered an error at Thu Jan 6 16:35:50 2022
To report this problem, please contact the site administrator at …..
Please include the following message in any email:
opensaml::BindingException at (https://p360.cds.bdf-cloud.comp.net/Shibboleth.sso/SAML2/POST)
Invalid HTTP method (GET).

我正在使用 Triton 服务提供商。整个 shibboleth.xml 可在 https://pastebin.com/AfFU5JNR获得

下面是更新 url 的 shibboleth xml 文件的片段。

{% if ENV == "ppd" %}
<MetadataProvider type="XML"
      url="https://apigateway2.cpuat.comp.com/idp/sso/metadata.xml?spentityid=https://p360.cds.bdf-cloud.comp.net/shibboleth"
      backingFilePath="/etc/shibboleth/cpuatidp.xml" reloadInterval="7200"> 
</MetadataProvider>
{% endif %}
{% if ENV == "prd" %}
<MetadataProvider type="XML" 
                  url="https://apigateway.customerportal.comp.com/idp/sso/2021/metadata.xml?spentityid=p360"
                  backingFilePath="/etc/shibboleth/prdcpuatidp.xml" 
                  reloadInterval="7200"/>
{% endif %}

用户通常会在 chrome 浏览器上遇到 OpenSAML 错误。此外,Firefox 上的用户可以毫无问题地访问 URL,但是一旦通过隐私浏览访问 URL,同样的问题仍然存在。奇怪的是,在清除浏览器缓存/cookies/历史记录后,有时会出现相同的 OpenSAML 错误,有时不会。

4

0 回答 0