cas服務端

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

密鑰庫口令  tssup.comapache


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 -noprompttomcat


tomcat/conf/server.xml
server

<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"
               />xml

hostsssl

 127.0.0.1  sso.tssup.com  
it


cas 默認用戶名 :  casusers   密碼 :  Mellon
io

相關文章
相關標籤/搜索