Systems - CATS

Overview

CATS runs the CAcert Training System, which is currently used to do the Assurer Challenge.

SSL-Certificate: see SystemAdministration/CertificateList

Software

The CATS software can be found on SVN at https://svn.cacert.org/CAcert/Education/CATS/. The files index.php.template and includes/db_connect.inc.template have to be copied and edited according to the installation environment (pathes, passwords etc.)

A test/demo/initial database creation script is at https://svn.cacert.org/CAcert/Education/CATS-DB/

Prerequesites: Apache, PHP, MySQL, OpenSSL

Apache has to be configured that a client certificate is requested when accessing the CATS directory.

Data upload to main database

The script functions/UploadResults.pl has to be started regularily (typ.: cronjob every 5 minutes) to upload the passed tests.

Parameters have to be used to specify client certificate, client key (matching the certificate) and CAcert root keys. Sample commandline:

perl /home/cats/public_html/functions/UploadResults.pl --CertFile /home/cats/private/cert_201006.pem --KeyFile /home/cats/private/key_201006.pem --CAFile /home/cats/private/CAcert_roots.pem

The client certificate has to be issued for email address cats@cacert.org

Database content

The "primary" store for questions and answers (including translations in progress) is the MySQL DB on the development system test1.cacert.at.

To save us the hassle of typing in the questions again if the database should crash it is backed up daily to the production system cats.cacert.org, in addition to daily backups on test1.cacert.at.

Instructions for Translations


SystemAdministration/Systems/CATS (last edited 2011-08-23 10:15:42 by UlrichSchroeter)