我无法让Windows Server 2022上的IIS与Shibboleth 3 SP进行交互。我遵循Shibboleth 3 SP安装说明,并在安装阶段选中了“配置IIS”选项。
检查shibd.exe通过如下所示:
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模块:
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也有同样的问题:
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 AnonymousShibboleth 2有一个注册为*.sso的处理程序,而Shibboleth 3没有一个。
我已经搜索了很多网站,但我无法找到任何解决办法。有人能帮忙吗拜托。提前谢谢。
发布于 2022-07-20 05:02:28
结果发现,我有两个配置问题:
中的站点id匹配。
现在一切都好了。
https://stackoverflow.com/questions/73032532
复制相似问题