Challenge PKI : 5.3. Setup HTTP repository with virtual hosts


In this testcase set we assume one server hosts and two virtual hosts as follows. ldap1 ldap2 ldap3

The main web server runs on '' and virtual host server runs on '' as the host ''. use HTTP repository for FullCRL distribution which is specified in the second cRLDistributionPoints.fullName.

5.3.1. Installation

# 1. move into HTTP repository data directory.

% cd /usr/local/cpki/testcase/cpki2002jpki2/data/httprep (default)

# 2. install a CRL by typing follows.

% make install

5.3.2. Apache virtual host setting.

Edit '/etc/httpd/conf/httpd.conf' as follows.
  1. Modify 'Listen' section.
  2. Append the following.
        DocumentRoot /var/www/html
        ErrorLog logs/
        CustomLog logs/ common
        <Directory "/var/www/html/cpki/testcase_jgpki2/">
            Order allow,deny
            Allow from all
    <Directory "/var/www/html/cpki/testcase_jgpki2/">
        Order deny,allow
        Deny from all

JNSA/IPA Challenge PKI Test Suite