首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows 2022上的Shibboleth 3

Windows 2022上的Shibboleth 3
EN

Stack Overflow用户
提问于 2022-07-19 07:07:49
回答 1查看 127关注 0票数 1

我无法让Windows Server 2022上的IIS与Shibboleth 3 SP进行交互。我遵循Shibboleth 3 SP安装说明,并在安装阶段选中了“配置IIS”选项。

检查shibd.exe通过如下所示:

代码语言:javascript
复制
PS C:\Windows\System32\inetsrv> C:/opt/shibboleth-sp/sbin/shibd.exe -check
overall configuration is loadable, check console or log for non-fatal problems

我还看到IIS中安装了Shibboleth模块:

代码语言:javascript
复制
PS C:\Windows\System32\inetsrv> ./appcmd.exe list module
MODULE "HttpLoggingModule" ( native, preCondition: )
MODULE "HttpCacheModule" ( native, preCondition: )
MODULE "DynamicCompressionModule" ( native, preCondition: )
MODULE "StaticCompressionModule" ( native, preCondition: )
MODULE "DefaultDocumentModule" ( native, preCondition: )
MODULE "DirectoryListingModule" ( native, preCondition: )
MODULE "ProtocolSupportModule" ( native, preCondition: )
MODULE "StaticFileModule" ( native, preCondition: )
MODULE "AnonymousAuthenticationModule" ( native, preCondition: )
MODULE "RequestFilteringModule" ( native, preCondition: )
MODULE "CustomErrorModule" ( native, preCondition: )
MODULE "AspNetCoreModuleV2" ( native, preCondition: )
MODULE "ShibNative32" ( native, preCondition:bitness32 )
MODULE "ShibNative" ( native, preCondition:bitness64 )

然而,http://localhost/Shibboleth.sso/Session返回一个404。详细的错误说明IIS找不到C:\inetpub\wwwroot\Shibboleth.sso\Session。因此,Shibboleth没有处理请求,IIS最终在文件系统上搜索一个静态文件。

使用域名和HTTPS也有同样的问题:

代码语言:javascript
复制
Detailed Error Information:
Module     IIS Web Core
Notification       MapRequestHandler
Handler    StaticFile
Error Code     0x80070002
Requested URL      https://example.com:443/Shibboleth.sso/Session
Physical Path      C:\inetpub\wwwroot\Shibboleth.sso\Session
Logon Method       Anonymous
Logon User     Anonymous

Shibboleth 2有一个注册为*.sso的处理程序,而Shibboleth 3没有一个。

我已经搜索了很多网站,但我无法找到任何解决办法。有人能帮忙吗拜托。提前谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-07-20 05:02:28

结果发现,我有两个配置问题:

  1. 安装Shibboleth的文件夹应该具有IUSR
  2. 的读取和执行权限,shibboleth2.xml中的站点id需要与IIS.

中的站点id匹配。

现在一切都好了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73032532

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档