描述
尝试使用安全声明标记语言 (SAML) 登录到 ArcGIS Enterprise 时,将返回以下错误:
Error:
Unable to login using Idp. IDP supports Encrypted SAML Assertion, but sends unencrypted Assertion
原因
- 已在 Portal for ArcGIS 中启用“加密声明”选项。
- 未将 samlcert 证书导入身份提供者 (IDP) 门户。
解决方案或解决方法
禁用“加密声明”选项
- 登录到 Portal for ArcGIS,然后单击组织 > 设置 > 安全性。
- 在登录部分中,选择 IDP。
- 在指定属性页面上,展开显示高级设置。
- 禁用加密声明选项。
- 单击保存。
将 samlcert 证书导入 IDP 门户
Note:
The following workaround may require the assistance of the organization's IT team.
- 禁用“加密声明”选项。
- 登录到 Portal for ArcGIS,然后单击组织 > 设置 > 安全性。
- 在登录账户部分中,选择身份提供者。
- 在指定属性页面上,展开显示高级设置。
- 禁用加密声明选项。
- 单击保存。
- 导出 samlcert 证书。
- 登录到 ArcGIS Portal Administrator Directory。
- 单击安全性 > SSLCertificates。
- 单击现有 samlcert 证书。
- 单击导出。
- 将 samlcert 证书导入 IDP 门户,然后找到令牌加密设置。
- 导入 samlcert 证书后将其激活。
- 启用“加密声明”选项。
- 登录到 Portal for ArcGIS,然后单击组织 > 设置 > 安全性。
- 在登录部分中,选择 IDP。
- 在指定属性页面上,展开显示高级设置。
- 启用加密声明选项。
- 单击保存。
- 清除浏览器缓存并使用 SAML 登录账户重新登录。