CAS 服务器 - 在 /var/lib/tomcat9/webapps/ 中生成 war 文件副本后无法访问 CAS 地址

发布于 2025-01-11 14:24:24 字数 1292 浏览 3 评论 0原文

我目前正在本地网络中设置一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤寂小茶 2025-01-18 14:24:24

当我删除 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文