2014-09-10 118 views
1

在CAS成功登錄後,出現錯誤。CAS認證失敗phpCAS

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, 

任何一個能幫助我....? 請

+0

如果這是一個錯誤,是什麼讓你覺得你的登錄

  • 導入密鑰庫那是成功的?沒有更多的細節,在這裏沒有什麼可說的。 – 2014-09-10 11:43:21

  • 回答

    0

    我以前有過相同的錯誤。 我使用java-7的keytool配置tomcat ssl後解決了這個問題。

    步驟:

    1. 創造店

    2. 創建證書到Java的7