Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

Trying it out

Configuring and Customizing CAS

Plugging in an AuthHandler for your institution

Changing the CAS timeout configurations

Branding the Look and Feel

  • No labels