Challenge PKI : 4.1. Setup database


When you want to see or modify test data, please install test case database.
  1. Restore Database:
    To create new database for GPKI test cases use 'cpki_dbrevive' command.
    % cd /usr/local/cpki/testcase/cpki2002jpki2/data/db (default)
    % gzip -d cpki_jgpki2.dmp.gz
    % cpki_dbrevive -d cpki_jgpki2 -f cpki_jgpki2.dmp
    % cpki_dbgrant -d cpki_jgpki2 -a ADMINUSER [-g GUESTUSER] # if you want to set access control 

JNSA/IPA Challenge PKI Test Suite