1、把cas-server配置到tomcat下,访问tomcat的8080端口的cas服务,如果正常说明cas配置成功。
2、用java自带的工具keytool.exe生成密钥文件
keytool -genkey -keyalg RSA -keystore theti-keystore
注意:主机名要输入域名
3、导出服务端证书
keytool -export -file thetiserver.cert -keystore theti-keystore
4、将服务端证书导入JVM信任库中
keytool -import -keystore /opt/java/jre/lib/security/cacerts -file thetiserver.cert -alias theti
keytool -list -v -alias theti -keystore /opt/java/jre/lib/security/cacerts
3、在tomcat配置文件中加入对https的支持