cas服务端

keytool -genkey -alias tssup -keyalg RSA -keystore d:/keys/tssup

密钥库口令  tssup.com


keytool -export -file d:/keys/tssup.crt -alias tssup -keystore d:/keys/tssup
 
keytool -importcert -alias tssup -file D:/keys/tssup.crt -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass changeit -noprompt


tomcat/conf/server.xml

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="D:/keys/tssup"  keystorePass="tssup.com"
               />

hosts

 127.0.0.1  sso.tssup.com  


cas 默认用户名 :  casusers   密码 :  Mellon

你可能感兴趣的:(cas服务端)