. '''To [[SystemAdministration/Systems|Systems Overview]]''' - '''To Software''' '''[[Software|Software]]''' - '''To Software-Assessment - ''' '''[[Software/Assessment|Software/Assessment]]''' . To '''[[Software/Assessment/Documentation|Software Asessment Documentation Overview]]''' ---- = Testserver Setup and technical details = This is a reverse engineering notepad on how the Testserver test.cacert.org has been set up. <> == Signer == The OpenSSL config files in /etc/ssl should be adjusted: crlDistributionPoints, authorityInfoAccess, ... The Testserver keys have to be provided for download. == Signer Client == ToDo == Testmgr == ToDo == Blog == pages/index/feed.rss get displayed as Latest news on the startpage. Sample page: {{{ CAcert NEWS Blog http://blog.cacert.org CAcert NEWS and up coming events. Fri, 20 Aug 2010 11:54:30 +0000 http://backend.userland.com/rss092 en Looking for confirmation email on creating account? Please go to https://ca-mgr1.it-sls.de/login login with your just created account and password. Under MAIL you'll find your individual confirmation email. https://ca-mgr1.it-sls.de/testsystemdoc.html }}} == Mail == The testserver runs a postfix MTA and a dovecot IMAP server. It looks like all(?) mails sent by the CAcert website installation are redirected into a single IMAP mailbox. The [[Software/Assessment/TestserverManagementSystem|TestManager]] then accesses this mailbox and filters them for the mails to be shown to the logged in user. The redirection is achieved by this directive in /etc/postfix/main.cf: {{{ virtual_alias_maps = regexp:/etc/postfix/virtual.regexp }}} with virtual.regexp containing {{{ /.*/ cacertmail }}} == CATS == It is not essential to set up a CATS server, since passed tests can be created by the TestMgr. == Changes to the release branch == Currently some files of the cacert-devel release branch have to be changed to set up the testserver.<> Note that all those settings should go into a "configuration file" in the future, so that the release branch can be used for a testserver, with all necessary changes included only in config files. * different logo: www/images/cacert4.png * different default style: www/styles/default.css * CommModule/client.pl has to be set up to us ea different serial port, currently "dev/ttyS1". Note that the server uses "dev/ttyS0" * a matching serial.conf for this dev/ttyS1 is needed * the production server uses a real USB tty, the test servers use pseudo regular ttys coupled by socat. * the directories crt and csr must be writeably ba the webserver, usually by making changing their group to "www-data" and adding the group writeable flag (chmod -R g+w crt csr) * place the testserver certificates in www/certs * add the pseudo RSS feed pages/index/feed.rss * add the testserver's GPG keys: www/certs/cacert.asc * change the IP address of the CATS server in www/cats/cats_import.php * Add softlinks www/cacert1-revoke.crl to revoke.crl and www/cacert1-class-3-revoke.crl to class-3-revoke.crl<> Not in the repository: * includes/mysql.php = Footnotes = <> ---- . CategorySystems . CategorySoftware . CategorySoftwareAssessment . CategorySoftwareAssessmentDocumentation