【发布时间】:2018-11-21 16:20:36
【问题描述】:
我安装了 simplesamlphp 来为 ADFS 服务器设置 SSO 配置。但是当我尝试转换他们的元数据时遇到问题。
我可以成功登录初始安装欢迎页面,以及其他链接,例如身份验证和联合选项卡,测试配置等。
但是当我单击“配置”选项卡、“联合”选项卡中的“显示元数据”或转到元数据转换器页面并单击“解析”时,我得到空白页。基本上我猜在配置代码的某个地方有一个重定向错误,但我在互联网上找不到它。
我在日志中看到以下错误。
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Call to undefined function curl_init()
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] Backtrace:
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:25:47 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 0 [builtin] (N/A)
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Class 'DOMDocument' not found
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] Backtrace:
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:26:00 ip-10-8-17-72 simplesamlphp[1478]: 3 [e14c321c1d] 0 [builtin] (N/A)
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] SimpleSAML_Error_Exception: Error 1 - Class 'DOMDocument' not found
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] Backtrace:
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 2 /var/simplesamlphp/www/_include.php:86 (SimpleSAML_error_handler)
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 1 /var/simplesamlphp/www/_include.php:54 (SimpleSAML_exception_handler)
Jun 12 13:26:22 ip-10-8-17-72 simplesamlphp[27328]: 3 [e14c321c1d] 0 [builtin] (N/A)
【问题讨论】: