CAS 服务器端口配置

1:下载 CAS服务器http://www.jasig.org/cas cas-server-3.4.2-release

2: 解压文件;将 cas-server-3.4.2-release/cas-server-3.4.2/modules 下面 的cas-server-webapp-3.4.2.war

发布到 Tomcat webapps 目录下:

3: 配置 tomcat

一下摘自官网文档 :

-------------------------------------------------

Edit the file "c:/tomcat-cas/conf/server.xml" and change the following: In the beginning, change <Server port="8005" shutdown="SHUTDOWN"> to a different value, lets say port="8555". This will avoid conflicts, when using multiple tomcats Do comment out the <Connector port="8080" protocol="HTTP/1.1" .... We don't need HTTP connector, so comment out. Do comment out the <Connector port="8009" protocol="AJP/1.3" ... We don't need AJP connector, so comment out. Uncomment the SSL connector, cause we really need it <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" ... Save the file and (re)start the server. I assume, that the "certstore" and "truststore" is accessible by this Tomcat (see above, creating certs). You should now be able to connect to "https://localhost/cas" with your browser.

修改 8005 端口 --> 8555

注释掉:HTTP/1.1 AJP/1.3 协议 <!--Connector ....-->

修改HTTPS服务Connector port="443" 端口

===============================================================

然后 启动 tomcat 输入 https://localhost:8080/cas/ 进入到登录页面

随便输入任意字符, 但是需要注意 用户名==密码

登录成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值