From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=Dogtag Certificate System setup and configuration |actions= # First, prerequisites, Java OpenJDK, 389-ds-base needs to be installed.And configure th...')
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 5: Line 5:
|actions=
|actions=
# First, prerequisites, Java OpenJDK, 389-ds-base needs to be installed.And configure the basic DS instance using setup-ds.pl(accept all defaults)
# First, prerequisites, Java OpenJDK, 389-ds-base needs to be installed.And configure the basic DS instance using setup-ds.pl(accept all defaults)
#: <pre>
#: $ yum install java-1.6.0-openjdk
#: $ yum install java-1.6.0-openjdk
#: $ yum install 389-ds-base
#: $ yum install 389-ds-base
#: $ /usr/sbin/setup-ds.pl
#: $ /usr/sbin/setup-ds.pl
# Next,is to install all main dogtag PKI packages  
# Next,is to install all main dogtag PKI packages  
#: <pre>
#:  
#: yum install pki-ca pki-ra pki-kra pki-ocsp pki-tks pki-tps pki-console  --enablerepo=updates-testing
#: yum install pki-ca pki-ra pki-kra pki-ocsp pki-tks pki-tps pki-console  --enablerepo=updates-testing
# Next, Once installed, create instances for each subsystem using the 'pkicreate' command(see pkicreate --help for more)
# Next, Once installed, create instances for each subsystem using the {{filename|/usr/bin/pkicreate}} command(see pkicreate --help for more). The below is an example of creating an instance of CA(Certificate Authority) subsystem
#: <pre>
#: <pre>
#:=======================================================
#:=======================================================
#:pkicreate -pki_instance_root=/var/lib        \
#: pkicreate -pki_instance_root=/var/lib        \
#:         -pki_instance_name=pki-ca          \
#:           -pki_instance_name=pki-ca          \
#:         -subsystem_type=ca                \
#:           -subsystem_type=ca                \
#:         -agent_secure_port=9443            \
#:           -agent_secure_port=9443            \
#:         -ee_secure_port=9444              \
#:           -ee_secure_port=9444              \
#:         -admin_secure_port=9445            \
#:           -admin_secure_port=9445            \
#:         -unsecure_port=9180                \
#:           -unsecure_port=9180                \
#:         -tomcat_server_port=9701          \
#:           -tomcat_server_port=9701          \
#:         -user=pkiuser                      \
#:           -user=pkiuser                      \
#:         -group=pkiuser                    \
#:           -group=pkiuser                    \
#:         -redirect conf=/etc/pki-ca        \
#:           -redirect conf=/etc/pki-ca        \
#:         -redirect logs=/var/log/pki-ca    \
#:           -redirect logs=/var/log/pki-ca    \
#:          -verbose
#:          -verbose
#:========================================================
#:========================================================
# Once the instance creation is finished from step-1, go through configuration wizard for CA and finish installation (or use the pkisilent script to silently configure. see 'pki-silent' package and it's template file '/usr/share/pki/silent/pki_silent.template' )
# Once the instance creation is finished from step-1, go through configuration wizard for CA and finish installation (or use the pkisilent script to silently configure. see 'pki-silent' package and it's template file '/usr/share/pki/silent/pki_silent.template' )
silent script for CA:  
Silent script for CA:  
from the script, replace the  -bind_password appropriately from your step-1
Note-replace the  -bind_password appropriately from your step-1
  http://kashyapc.fedorapeople.org/dogtag-test/ca-silent.bash  
  http://kashyapc.fedorapeople.org/dogtag-pki/pkisilent-scripts/ca-silent.bash  
Now, Configure the  rest of the subsystems by creating instances using 'pkicreate' (again see 'pkicreate' syntax for help)
* Now, try to Configure the  rest of the subsystems(RA,OCSP,KRA,TKS,TPS) by creating instances using 'pkicreate' (again see 'pkicreate' syntax for help)
</pre>
</pre>
|results=
|results=
Line 40: Line 39:
# Step #2 completes without error
# Step #2 completes without error
# Step #3 CA Instance gets created successfully
# Step #3 CA Instance gets created successfully
# Step #4 CA instance should be configured fine(and respectively other subsystems)
}}
}}

Latest revision as of 19:10, 8 December 2011

Description

Dogtag Certificate System setup and configuration


How to test

  1. First, prerequisites, Java OpenJDK, 389-ds-base needs to be installed.And configure the basic DS instance using setup-ds.pl(accept all defaults)
    $ yum install java-1.6.0-openjdk
    $ yum install 389-ds-base
    $ /usr/sbin/setup-ds.pl
  2. Next,is to install all main dogtag PKI packages
    yum install pki-ca pki-ra pki-kra pki-ocsp pki-tks pki-tps pki-console --enablerepo=updates-testing
  3. Next, Once installed, create instances for each subsystem using the /usr/bin/pkicreate command(see pkicreate --help for more). The below is an example of creating an instance of CA(Certificate Authority) subsystem
    =======================================================
    pkicreate -pki_instance_root=/var/lib \
    -pki_instance_name=pki-ca \
    -subsystem_type=ca \
    -agent_secure_port=9443 \
    -ee_secure_port=9444 \
    -admin_secure_port=9445 \
    -unsecure_port=9180 \
    -tomcat_server_port=9701 \
    -user=pkiuser \
    -group=pkiuser \
    -redirect conf=/etc/pki-ca \
    -redirect logs=/var/log/pki-ca \
    -verbose
    ========================================================
  4. Once the instance creation is finished from step-1, go through configuration wizard for CA and finish installation (or use the pkisilent script to silently configure. see 'pki-silent' package and it's template file '/usr/share/pki/silent/pki_silent.template' )

Silent script for CA: Note-replace the -bind_password appropriately from your step-1

http://kashyapc.fedorapeople.org/dogtag-pki/pkisilent-scripts/ca-silent.bash 
  • Now, try to Configure the rest of the subsystems(RA,OCSP,KRA,TKS,TPS) by creating instances using 'pkicreate' (again see 'pkicreate' syntax for help)

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.

  1. Step #1 completes without error
  2. Step #2 completes without error
  3. Step #3 CA Instance gets created successfully
  4. Step #4 CA instance should be configured fine(and respectively other subsystems)