CAS 服务器 - 在 /var/lib/tomcat9/webapps/ 中生成 war 文件副本后无法访问 CAS 地址
我目前正在本地网络中设置一个 CAS 服务器,该服务器必须对属于 ldap 目录的用户进行身份验证,以便他们可以连接到 Web 服务器。 Windows Server 2019 Active Directory 是通往 WAN 的网关。
环境:
- Windows Server 2019,安装了 Active Directory 和 DHCP、路由和 DNS,用于在 WAN 和 LAN 之间建立链接; IP:192.168.100.10
- 局域网中 Centos 7 上的 LDAP 服务器在 Active Directory 上注册(未生成 ssl 证书); IP:192.168.100.50
- 局域网Debian 11上的CAS服务器(没有为tomcat和cas生成ssl证书); IP:192.168.100.101
- 互相之间都ping通;
我按照以下流程安装和配置 cas 服务器: https://www.esup-portail.org/wiki/ pages/viewpage.action?pageId=972292097
这是我的 build.gradle 配置文件: build.gradle
这是我的 cas.properties 配置文件: cas.properties
后在/var/lib/tomcat9/webapps中生成war文件的副本/;我重新启动tomcat9服务。
问题是我无法访问 cas 地址: erreur_acces_site
当我检查 Tomcat 服务的状态时,出现以下错误: error_tomcat_service_status
有人能启发我吗?我看不出出了什么问题。 此外,如果有人有详细的过程,描述了为 Centos 7 安装 CAS 服务器的环境和先决条件、最新的和教育性的,我非常感兴趣 先感谢您!
I am currently setting up a CAS server in a local network which will have to authenticate users belonging to ldap directories so that they can then connect to a web server.
A Windows Server 2019 Active Directory is the gateway to the WAN.
Environment:
- Windows Server 2019 with Active Directory and DHCP, routing and DNS installed which make the link between the WAN and the LAN; IP: 192.168.100.10
- LDAP Server on Centos 7 on the LAN registred on the Active Directory (no ssl certificate generated); IP: 192.168.100.50
- CAS Server on Debian 11 on the LAN (no ssl certificate generated for tomcat and cas); IP: 192.168.100.101
- All pinging between each other;
I'm following this process to install and configure the cas server:
https://www.esup-portail.org/wiki/pages/viewpage.action?pageId=972292097
This is my build.gradle configuration file:
build.gradle
This is my cas.properties configuration file:
cas.properties
After the copy of the war file generated in /var/lib/tomcat9/webapps/; i restart tomcat9 service.
The problem is that i can't access the cas address:
erreur_acces_site
When i check the status of Tomcat service, i got this error:
error_tomcat_service_status
Can anyone enlighten me? I can't see what's going wrong.
Moreover, if someone has a detailed procedure, which describes the environment and the prerequisites, recent and educational to install a CAS server for Centos 7, I am strongly interested
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我删除 build.gradle 中的 CAS 依赖项和 cas.properties 中的 LDAP 身份验证配置时,我可以访问 CAS登录屏幕。
When I remove the CAS dependencies in build.gradle and LDAP authentication config in cas.properties, I can access the CAS login screen.