Getting the code
Deploying Yale CAS Server
Getting the code
Obtain the Yale CAS Server 2.x zip distribution from the link above. Unzip.
Getting started
Configuring Tomcat to vend CAS via SSL
While CAS works fine on Tomcat 4.x, you probably want to be running Tomcat 5. In your Tomcat 5's /conf/server.xml, uncomment the Connector entry to enable SSL:
<Connector port="443" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:\j2sdk1.4.2_04\jre\lib\security\cacerts" keystorePass="changeit"/>
That keystoreFile path should point to your JRE's cacerts keystore. The default keystore password is "changeit" though you may have changed it.
Of course, this requires that your cacerts contains a key, self-signed or otherwise, for your server. There's more documentation on SSL certificate issues here.
Building the .war
Installing the .war into Tomcat
Stop your Tomcat.
Place the cas.war into your Tomcat's /webapps/ directory.
Start your Tomcat.