【问题标题】:CAS Authentication failed phpCASCAS认证失败phpCAS
【发布时间】:2014-11-03 21:01:16
【问题描述】:

在 CAS 中成功登录后出现错误。

CAS Authentication failed! You were not authenticated.You may submit your request again by clicking here. If the problem persists, you may contact the administrator of this site.

以及日志文件中的错误:

PHP Fatal error:  Uncaught exception 'CAS_AuthenticationException' in /var/www/CAS-.3.2/CAS/Client.php:2764\nStack trace:\n#0 /var/www/CAS-1.3.2/CAS/Client.php(1224): CAS_Client->validateCAS20('https://sso.jarko...', '', NULL)\n#1 /var/www/CAS-1.3.2/CAS.php(1151): CAS_Client->isAuthenticated()\n#2 /var/www/login.php(8): phpCAS::isAuthenticated()\n#3 {main}\n  thrown in /var/www/CAS-1.3.2/CAS/Client.php on line 2764,

任何人都可以帮助我....?? 请

【问题讨论】:

  • 如果是错误,您认为登录成功的原因是什么?如果没有更多细节,这里就不多说了。

标签: php phpcas


【解决方案1】:

我之前也遇到过同样的错误。 我使用java-7的keytool配置tomcat ssl后解决了这个问题。

步骤:

  1. 创建商店

  2. 创建证书

  3. 将密钥库导入 java-7

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-08-31
    • 2016-03-25
    • 1970-01-01
    • 2018-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多