CAS 5.x部署

1. 下载Overlay

Maven地址:https://github.com/apereo/cas-overlay-template

2. 构建war包

build package

3. 访问

http://localhost:8080/cas/login

4. 生成keystore

keytool -genkey -alias cas -keyalg RSA -keysize 2048 -keypass 123456 -storepass 123456 -keystore D:/liuyx.keystore -dname "CN=cas.example.org,OU=liuyx.com,O=liuyx,L=JiNan,ST=JiNan,C=CN"

5. 覆盖属性

server.ssl.key-store=file:C:/Users/yulia/thekeystore
server.ssl.key-store-password=password
server.ssl.key-password=password

6. 配置tomcat


        
            
        

7. 访问

https://localhost:8443/cas

你可能感兴趣的:(CAS 5.x部署)