You will install the latest JDK from SUN: download it from here.
It will be used by the Apache Tomcat server who will host the CAS server.
To generate certificates for each server we will use the JDK tool : keytool.
The following command will create a keystore in c:/Java/keystore.jks :
Use the password changeit.
Enter all the requested informations. Note that you must enter the name of the server as the 'first and last name'.
So for the CAS server it should be ServerA.
Now we need to repeat this operation for ServerB.
Once the server are running, you can use our utility : Certificat Importer to add the certificate to the trustore.
Now we need to repeat this operation for ServerB.