Iis 7 使用IIS7安装Shibboleth SP时出现ISAPI错误

Iis 7 使用IIS7安装Shibboleth SP时出现ISAPI错误,iis-7,shibboleth,isapi,Iis 7,Shibboleth,Isapi,我目前正试图在IIS7上安装Shibboleth服务提供商,在浏览到时,浏览器出现以下错误 http://127.0.0.1/Shibboleth.sso/Status: Shibboleth错误 ISAPI扩展只能被调用来处理 Shibboleth协议请求。请确保映射的文件扩展名 与实际内容不匹配 以下是我迄今为止所做的尝试: 重新启动Shibboleth 2守护程序服务 从接口重新启动IIS并使用iisreset 在ISAPI标记中使用正确的站点id和名称配置了shibboleth2.xm

我目前正试图在IIS7上安装Shibboleth服务提供商,在浏览到时,浏览器出现以下错误

http://127.0.0.1/Shibboleth.sso/Status:

Shibboleth错误

ISAPI扩展只能被调用来处理 Shibboleth协议请求。请确保映射的文件扩展名 与实际内容不匹配

以下是我迄今为止所做的尝试:

  • 重新启动Shibboleth 2守护程序服务
  • 从接口重新启动IIS并使用iisreset
  • 在ISAPI标记中使用正确的站点id和名称配置了shibboleth2.xml

    <!-- ISAPI Settings. -->
    <ISAPI normalizeRequest="true" safeHeaderNames="true">
        <!--
        Maps IIS Instance ID values to the host scheme/name/port. The name is
        required so that the proper <Host> in the request map above is found without
        having to cover every possible DNS/IP combination the user might enter.
        -->
        <Site id="2" name="my_host_name/courses"/>
        <!--
        When the port and scheme are omitted, the HTTP request's port and scheme are used.
        If these are wrong because of virtualization, they can be explicitly set here to
        ensure proper redirect generation.
        -->
        <!--
        <Site id="42" name="virtual.example.org" scheme="https" port="443"/>
        -->
    </ISAPI>
    
    
    
  • 确保状态处理程序类型包含::1

        <!-- Status reporting service. -->
        <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/>
    
    
    
现在从IIS开始 我在ISAPI过滤器中添加了ISAPI shibboleth dll

  • Name=Shibboleth
  • 可执行文件=路径/to/shibboleth sp/lib64/shibboleth/isapi_shib.dll
  • 条目类型=本地
我在ISAPI和CGI限制中添加了相同的dll 描述

  • Description=[无描述]
  • 限制=允许
  • Path=Path/to/shibboleth sp/lib64/shibboleth/isapi_shib.dll
我确保主机文件包含IP和我的主机名

我在Shibboleth论坛上找到了一些关于这个错误的答案,但似乎什么都不起作用

如果禁用SSO,我可以浏览/course文件夹。 我可以从另一台计算机,而不仅仅是从服务器本身,访问同一个错误页面

任何帮助都将不胜感激


谢谢大家!

安装了哪个版本的Shibboleth服务提供商。请安装最新版本3.0.2.0。安装时请检查IIS 7.0选项。在我升级到3.0.2.0版本后,我们也面临类似的问题,它对我们有效