Setup Public Key Infrastructure dengan Dog Tag Certificate System

| Posted in Certificate Authority, Linux Server, PKI, Project, Security

Asimetrik Kriptografi sangat penting dalam menjaga keamanan dalam berkomunikasi di internet. Sistem Asimetrik Kriptografi menggunakan kunci public dan kunci private. Keduanya diperlukan dalam transaksi dan digital signature di internet. Sebelumnya saya menggunakan EJBCA maka kali ini saya menggunakan Dog Tag Certificate System keluaran Red Hat inc.

Dogtag memiliki features seperti : Certificate issuance, revocation, dan retrieval, Certificate Revocation List (CRL) generation dan publishing, Certificate profiles, Simple Certificate Enrollment Protocol (SCEP), Local Registration Authority (LRA) for organizational authentication and policies, Encryption key archival and recovery, dan Smartcard lifecycle management Token profiles,Token enrollment, on-hold, key recovery, and format, Face-to-face enrollment with the security officer workstation interface.

Disamping dipakai untuk smart card, Dog Tag Certification system juga dipakai oleh Militer Amerika Serikat untuk mengidentifikasi semua tentaranya.  Pernah kan, lihat film perang Hollywood kalau tentara Amerika Serikat itu selalu memakai 2 kalung dilehernya yang dinamakan Dog Tag seperti gambar logo diatas,  Indentitas/Data didalam kalung(dog tag) tersebut berisi nama, Social Security number, blood type dan religion. Jadi jika tentaranya mati, satu dog tag nya diambil dan satu lagi tetap tinggal di lehernya.  Satu kalung yang diambil itu untuk  update data identitas tentara tersebut disemua sistem komputer militer Amerika Serikat. Dog Tag dapat dipakai juga sebagai  password/identitas tentara jika sedang mengunakan fasilitas militer dan sebagainya.

Dogtag Certificate System memiliki 6 subsystems :
-Certificate Authority (CA) – implemented in Java
-Data Recovery Manager (DRM) – implemented in Java
-Online Status Procotol Protocol Manager (OCSP) – implemented in Java
-Token Key Service (TKS) – implemented in Java
-Registration Authority (RA) – implemented in Perl
-Token Processing System (TPS) – implemented in C and C++

Pembuatan Public Key Infrastructure dengan Dog Tag Certificate System kali ini terdiri dari Instalasi dan Konfigurasi dengan environment :

-Sistem operasi pada server : OS Linux distro Centos 5.4
-389 Directory Server (Open Source LDAP)
-Dog Tag Certificate System 1.3 (repo EPEL)
-Java,Tomcat Web Server,Perl,Ant,Apache,mod_nss

Berikut proses instalasi dan konfigurasi, saya menggunakan OS Linux distro Centos 5.4 32 bit dan sudah terinstall dengan baik :

Instalasi Tools :

[root@i ~]# rpm ev tomcatnative.i386

[root@i ~]# yum install db4-devel gzip rpm rpm-build subversion tar wget zip

[root@i ~]# yum install perl

[root@i ~]# yum install ant

[root@i ~]# yum install ant-junit

[root@i ~]# java -version
java version “1.6.0”
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)

Jika belum terinstall bisa install menggunakan yum install java-1.6.0-openjdk.


[root@i ~]# ant -version
Apache Ant version 1.6.5 compiled on January 6 2007


Install Apache untuk MOD_NSS dan PKI-RA

[root@i ~]# yum install httpd

Secara default Centos 5.4 terinstall mod_nss versi lama dan harus diupgrade untuk MOD_NSS

[root@i ~]# rpm Uvh mod_nss1.0.8-2.el5idm.i386.rpm

[root@i ~]# rpm -qa mod_nss
mod_nss-1.0.8-2.el5idm

Mengambil repo EPEL untuk Centos 5.4

[root@i ~]# rpm Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epelrelease-5-3.noarch.rpm

Instalasi Directory Server menggunakan 389-ds

[root@i ~]# yum upgrade—enablerepo=epel-testing

[root@i ~]# yum install 389-ds—enablerepo=epel-testing

Konfigurasi Directory Server :

[root@i ~]# setup-ds-admin.pl
============================================
This program will set up the 389 Directory and Administration Servers.
It is recommended that you have “root” privilege to set up the software.
Tips for using this program: – Press “Enter” to choose the default and go to the next screen – Type “Control-B” then “Enter” to go back to the previous screen – Type “Control-C” to cancel the setup program
Would you like to continue with set up? [yes]:
==========================================
BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT SET UP OR USE THIS SOFTWARE.
Do you agree to the license terms? [no]: yes
============================================
Your system has been scanned for potential problems, missing patches,
etc. The following output is a report of the items found that need to
be addressed before running this software in a production
environment.
389 Directory Server system tuning analysis version 10-AUGUST-2007.
NOTICE : System is i686-unknown-linux2.6.18-164.el5 (1 processor).

NOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds
(120 minutes). This may cause temporary server congestion from lost
client connections.

WARNING: There are only 1024 file descriptors (hard limit) available, which
limit the number of simultaneous connections.

WARNING: There are only 1024 file descriptors (soft limit) available, which
limit the number of simultaneous connections.

Would you like to continue? [no]: yes
==============================================
Choose a setup type:

1. Express
Allows you to quickly set up the servers using the most
common options and pre-defined defaults. Useful for quick
evaluation of the products.

2. Typical
Allows you to specify common defaults and options.

3. Custom
Allows you to specify more advanced options. This is
recommended for experienced server administrators only.
To accept the default shown in brackets, press the Enter key.
Choose a setup type [2]: 2
======================================
Enter the fully qualified domain name of the computer
on which you’re setting up server software. Using the form
.
Example: eros.example.com.
To accept the default shown in brackets, press the Enter key.
Computer name [i.xxxxom.or.id]:
=======================================================
The servers must run as a specific user in a specific group.
It is strongly recommended that this user should have no privileges
on the computer (i.e. a non-root user). The setup procedure
will give this user/group some permissions in specific paths/files
to perform server-specific operations.

If you have not yet created a user and group for the servers,
create this user and group using your native operating
system utilities.

System User [nobody]:
System Group [nobody]:

==================================================
Server information is stored in the configuration directory server.
This information is used by the console and administration server to
configure and manage your servers. If you have already set up a
configuration directory server, you should register any servers you
set up or create with the configuration server. To do so, the
following information about the configuration server is required: the
fully qualified host name of the form
.(e.g. hostname.example.com), the port number
(default 389), the suffix, the DN and password of a user having
permission to write the configuration information, usually the
configuration directory administrator, and if you are using security
(TLS/SSL). If you are using TLS/SSL, specify the TLS/SSL (LDAPS) port
number (default 636) instead of the regular LDAP port number, and
provide the CA certificate (in PEM/ASCII format).

If you do not yet have a configuration directory server, enter ‘No’ to
be prompted to set up one.

Do you want to register this software with an existing
configuration directory server? [no]:

==============================================
Please enter the administrator ID for the configuration directory
server. This is the ID typically used to log in to the console. You
will also be prompted for the password.

Configuration directory server
administrator ID [admin]:
Password:
Password (confirm):
The passwords do not match. Please try again.

Password (confirm):

==============================================
The information stored in the configuration directory server can be
separated into different Administration Domains. If you are managing
multiple software releases at the same time, or managing information
about multiple domains, you may use the Administration Domain to keep
them separate.

If you are not using administrative domains, press Enter to select the
default. Otherwise, enter some descriptive, unique name for the
administration domain, such as the name of the organization
responsible for managing the domain.

Administration Domain [xxxxom.or.id]:

=============================================
The standard directory server network port number is 389. However, if
you are not logged as the superuser, or port 389 is in use, the
default value will be a random unused port number greater than 1024.
If you want to use port 389, make sure that you are logged in as the
superuser, that port 389 is not in use.

Directory server network port [389]:

=============================================
Each instance of a directory server requires a unique identifier.
This identifier is used to name the various
instance specific files and directories in the file system,
as well as for other uses as a server instance identifier.

Directory server identifier [i]:

==========================================
The suffix is the root of your directory tree. The suffix must be a valid DN.
It is recommended that you use the dc=domaincomponent suffix convention.
For example, if your domain is example.com,
you should use dc=example,dc=com for your suffix.
Setup will create this initial suffix for you,
but you may have more than one suffix.
Use the directory server utilities to create additional suffixes.

Suffix [dc=xxxxom, dc=or, dc=id]:

=========================================
Certain directory server operations require an administrative user.
This user is referred to as the Directory Manager and typically has a
bind Distinguished Name (DN) of cn=Directory Manager.
You will also be prompted for the password for this user. The password must
be at least 8 characters long, and contain no spaces.
Press Control-B or type the word “back”, then Enter to back up and start over.

Directory Manager DN [cn=Directory Manager]:
Password:
Password (confirm):

===============================================
The Administration Server is separate from any of your web or application
servers since it listens to a different port and access to it is
restricted.

Pick a port number between 1024 and 65535 to run your Administration
Server on. You should NOT use a port number which you plan to
run a web or application server on, rather, select a number which you
will remember and which will not be used for anything else.

Administration port [9830]:

===============================================
The interactive phase is complete. The script will now set up your
servers. Enter No or go Back if you want to change something.

Are you ready to set up your servers? [yes]:
Creating directory server . . .
Your new DS instance ‘i’ was successfully created.
Creating the configuration directory server . . .
Beginning Admin Server creation . . .
Creating Admin Server files and directories . . .
Updating adm.conf . . .
Updating admpw . . .
Registering admin server with the configuration directory server . . .
Updating adm.conf with information from configuration directory server . . .
Updating the configuration for the httpd engine . . .
Starting admin server . . .
The admin server was successfully started.
Admin server was successfully created, configured, and started.
Exiting . . .
Log file is ‘/tmp/setup8XSC5y.log’
[root@i ~]#

Untuk mengadministrasi menggunakan 389-ds console bisa menggunakan Windows XP Profesional dan Linux.
Jika mengunakan Fedora 12 Desktop menggunakan fedora-idm-console :

#yum install fedora-idm-console

#yum install xorg-x11-deprecated-libs

Untuk Login mengunakan :

cn=Directory Manager
Password : xxxxxxxxx
Administration URL : http://i.xxxxom.or.id:9830

Instalasi Dog Tag Certificate System mengunakan repo EPEL

[root@i ~]# yum—enablerepo=epel-testing install dogtag-pki

—————skip———————-

Installed:
dogtag-pki.noarch 0:1.3.0-2.el5
Complete!
[root@i ~]#

Konfigurasi Dog Tag Certificate System

Ada 6 subsystems (CA/SubCA,KRA/DRM,RA,TKS,TPS,OCSP)  yang dapat kita konfigurasi yaitu dengan menggunakan PKICREATE keenam subsystems harus kita konfigurasi satu persatu, pada instalasi ini semua berada di satu server, untuk pengembangan bisa kita buat berbeda server pada masing-masing subsystems:

Contoh command yang dapat dipakai sebagai berikut :

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkica
-subsystem_type=ca
-agent_secure_port=9443
-ee_secure_port=9444
-ee_secure_client_auth_port=9446
-admin_secure_port=9445
-unsecure_port=9180
-tomcat_server_port=9701
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkica
redirect logs=/var/log/pkica
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkisubca
-subsystem_type=ca
-agent_secure_port=9543
-ee_secure_port=9544
-ee_secure_client_auth_port=9546
-admin_secure_port=9545
-unsecure_port=9580
-tomcat_server_port=9801
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkisubca
redirect logs=/var/log/pkisubca
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkikra
-subsystem_type=kra
-agent_secure_port=10443
-ee_secure_port=10444
-admin_secure_port=10445
-unsecure_port=10180
-tomcat_server_port=10701
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkikra
redirect logs=/var/log/pkikra
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkiocsp
-subsystem_type=ocsp
-agent_secure_port=11443
-ee_secure_port=11444
-admin_secure_port=11445
-unsecure_port=11180
-tomcat_server_port=11701
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkiocsp
redirect logs=/var/log/pkiocsp
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkitks
-subsystem_type=tks
-agent_secure_port=13443
-ee_secure_port=13444
-admin_secure_port=13445
-unsecure_port=13180
-tomcat_server_port=13701
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkitks
redirect logs=/var/log/pkitks
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkira
-subsystem_type=ra
-secure_port=12889
-non_clientauth_secure_port=12890
-unsecure_port=12888
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkira
redirect logs=/var/log/pkira
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkitps
-subsystem_type=tps
-secure_port=7889
-non_clientauth_secure_port=7890
-unsecure_port=7888
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkitps
redirect logs=/var/log/pkitps
-verbose

pkicreate -pki_instance_root=/var/lib
pki_instance_name=pkitps1
-subsystem_type=tps
-secure_port=7989
-non_clientauth_secure_port=7990
-unsecure_port=7988
-user=pkiuser
-group=pkiuser
redirect conf=/etc/pkitps1
redirect logs=/var/log/pkitps1
-verbose


DEPLOY PKI-CA

[root@i /]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkica
> -subsystem_type=ca
> -agent_secure_port=9443
> -ee_secure_port=9444
> -ee_secure_client_auth_port=9446
> -admin_secure_port=9445
> -unsecure_port=9180
> -tomcat_server_port=9701
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkica
> redirect logs=/var/log/pkica
> -verbose—————————————————-skip—————————————————[2010-05-08 15:47:56] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ca
[2010-05-08 15:47:56] [debug] replacing: PKI_INSTANCE_ID with: pki-ca
[2010-05-08 15:47:56] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 15:47:56] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 15:47:56] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9446
[2010-05-08 15:47:56] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 15:47:56] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_SECURE_PORT with: 9443
[2010-05-08 15:47:56] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ca/CS.cfg
[2010-05-08 15:47:56] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 15:47:56] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9443
[2010-05-08 15:47:56] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 15:47:56] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 15:47:56] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 15:47:56] [debug] replacing: INSTALL_TIME with: Sat May 8 15:47:56 2010
[2010-05-08 15:47:56] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9445
[2010-05-08 15:47:56] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:56] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 15:47:56] [debug] replacing: PKI_UNSECURE_PORT with: 9180
[2010-05-08 15:47:56] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 15:47:56] [debug] Converting ‘/usr/share/pki/ca/conf/serverCertNick.conf’ > '/etc/pki-ca/serverCertNick.conf' ...
[2010-05-08 15:47:56] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ca/server.xml
[2010-05-08 15:47:56] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: TOMCAT_SERVER_PORT with: 9701
[2010-05-08 15:47:57] [debug] replacing: PKI_RANDOM_NUMBER with: 1JqIAUMw2MlN8CTldWPn
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 15:47:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 15:47:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT with: 9444
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ID with: pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9446
[2010-05-08 15:47:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ca/CS.cfg
[2010-05-08 15:47:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 15:47:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: INSTALL_TIME with: Sat May 8 15:47:56 2010
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9445
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT with: 9180
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 15:47:57] [debug] Converting '/usr/share/pki/ca/conf/tomcat5.conf' > ‘/etc/pki-ca/tomcat5.conf’ ...
[2010-05-08 15:47:57] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ca/server.xml
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: TOMCAT_SERVER_PORT with: 9701
[2010-05-08 15:47:57] [debug] replacing: PKI_RANDOM_NUMBER with: 1JqIAUMw2MlN8CTldWPn
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 15:47:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 15:47:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT with: 9444
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ID with: pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9446
[2010-05-08 15:47:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ca/CS.cfg
[2010-05-08 15:47:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 15:47:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: INSTALL_TIME with: Sat May 8 15:47:56 2010
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9445
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT with: 9180
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 15:47:57] [debug] Converting ‘/usr/share/pki/ca/webapps/ca/WEB-INF/velocity.properties’ > '/var/lib/pki-ca/webapps/ca/WEB-INF/velocity.properties' ...
[2010-05-08 15:47:57] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ca/server.xml
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: TOMCAT_SERVER_PORT with: 9701
[2010-05-08 15:47:57] [debug] replacing: PKI_RANDOM_NUMBER with: 1JqIAUMw2MlN8CTldWPn
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 15:47:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 15:47:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT with: 9444
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ID with: pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9446
[2010-05-08 15:47:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ca/CS.cfg
[2010-05-08 15:47:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 15:47:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: INSTALL_TIME with: Sat May 8 15:47:56 2010
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9445
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 15:47:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT with: 9180
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 15:47:57] [debug] Converting '/usr/share/pki/ca/webapps/ca/WEB-INF/web.xml' > ‘/var/lib/pki-ca/webapps/ca/WEB-INF/web.xml’ ...
[2010-05-08 15:47:57] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ca/server.xml
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: TOMCAT_SERVER_PORT with: 9701
[2010-05-08 15:47:57] [debug] replacing: PKI_RANDOM_NUMBER with: 1JqIAUMw2MlN8CTldWPn
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 15:47:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 15:47:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 15:47:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT with: 9444
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_INSTANCE_ID with: pki-ca
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9446
[2010-05-08 15:47:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ca/CS.cfg
[2010-05-08 15:47:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9443
[2010-05-08 15:47:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 15:47:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 15:47:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: INSTALL_TIME with: Sat May 8 15:47:56 2010
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9445
[2010-05-08 15:47:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 15:47:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 15:47:57] [debug] replacing: PKI_UNSECURE_PORT with: 9180
[2010-05-08 15:47:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 15:47:57] [debug] Processing PKI files and symbolic links for ‘/var/lib/pki-ca’ ...
[2010-05-08 15:47:57] [debug] Processing PKI security databases for ‘/var/lib/pki-ca’ ...
[2010-05-08 15:47:57] [debug] Processing PKI security modules for ‘/var/lib/pki-ca’ ...
[2010-05-08 15:47:57] [debug] Attempting to add hardware security modules to system if applicable …
[2010-05-08 15:47:57] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 15:47:57] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 15:47:57] [debug] Restorecon file context for /usr/share/java/pki
[2010-05-08 15:47:57] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 15:47:57] [debug] restorecon file context for /usr/bin/dtomcat5-pki-ca
[2010-05-08 15:47:57] [debug] Restorecon file context for /var/lib/pki-ca
[2010-05-08 15:47:57] [debug] Restorecon file context for /var/run
[2010-05-08 15:47:58] [debug] Setting selinux file context for “/var/log/pki-ca(/.*)?”

PKI instance creation completed …
Stopping pki-ca:
process already stopped
===========================================
Starting pki-ca: [ OK ]
pki-ca (pid 5165) is running …
‘pki-ca’ must still be CONFIGURED!
(see /var/log/pki-ca-install.log)
Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.

Please start the configuration by accessing:
https://i.xxxxom.or.id:9445/ca/admin/console/config/login?pin=1JqIAUMw2MlN8CTldWPn
After configuration, the server can be operated by the command:
/sbin/service pki-cad restart pki-ca
[root@i /]#
[root@i ~]# /sbin/service pki-cad restart pki-ca
Stopping pki-ca: ............................... [ OK ]
============================================
Starting pki-ca: [ OK ]
pki-ca (pid 6404) is running …
Unsecure Port = http://i.xxxxom.or.id:9180/ca/ee/ca
Secure Agent Port = https://i.xxxxom.or.id:9443/ca/agent/ca
Secure EE Port = https://i.xxxxom.or.id:9444/ca/ee/ca
Secure Admin Port = https://i.xxxxom.or.id:9445/ca/services
EE Client Auth Port = https://i.xxxxom.or.id:9446/ca/eeca/ca
PKI Console Port = pkiconsole https://i.xxxxom.or.id:9445/ca
Tomcat Port = 9701 (for shutdown)
PKI Instance Name: pki-ca
PKI Subsystem Type: Root CA (Security Domain)
Registered PKI Security Domain Information:
======================================================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
======================================================================
[root@i ~]#

DEPLOY SUB CA

[root@i ~]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkisubca
> -subsystem_type=ca
> -agent_secure_port=9543
> -ee_secure_port=9544
> -ee_secure_client_auth_port=9546
> -admin_secure_port=9545
> -unsecure_port=9580
> -tomcat_server_port=9801
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkisubca
> redirect logs=/var/log/pkisubca
> -verbose—————skip———————————————————————-
[2010-05-08 16:07:59] [debug] replacing: TOMCAT_SERVER_PORT with: 9801
[2010-05-08 16:07:59] [debug] replacing: PKI_RANDOM_NUMBER with: iBzt5I3F04LOKKJ6Zbzt
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 16:07:59] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 16:07:59] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT with: 9544
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ID with: pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9546
[2010-05-08 16:07:59] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-subca/CS.cfg
[2010-05-08 16:07:59] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 16:07:59] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: INSTALL_TIME with: Sat May 8 16:07:58 2010
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9545
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT with: 9580
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 16:07:59] [debug] Converting ‘/usr/share/pki/ca/conf/tomcat5.conf’ > '/etc/pki-subca/tomcat5.conf' ...
[2010-05-08 16:07:59] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-subca/server.xml
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: TOMCAT_SERVER_PORT with: 9801
[2010-05-08 16:07:59] [debug] replacing: PKI_RANDOM_NUMBER with: iBzt5I3F04LOKKJ6Zbzt
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 16:07:59] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 16:07:59] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT with: 9544
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ID with: pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9546
[2010-05-08 16:07:59] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-subca/CS.cfg
[2010-05-08 16:07:59] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 16:07:59] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: INSTALL_TIME with: Sat May 8 16:07:58 2010
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9545
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT with: 9580
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 16:07:59] [debug] Converting '/usr/share/pki/ca/webapps/ca/WEB-INF/velocity.properties' > ‘/var/lib/pki-subca/webapps/ca/WEB-INF/velocity.properties’ ...
[2010-05-08 16:07:59] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-subca/server.xml
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: TOMCAT_SERVER_PORT with: 9801
[2010-05-08 16:07:59] [debug] replacing: PKI_RANDOM_NUMBER with: iBzt5I3F04LOKKJ6Zbzt
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 16:07:59] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 16:07:59] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT with: 9544
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ID with: pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9546
[2010-05-08 16:07:59] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-subca/CS.cfg
[2010-05-08 16:07:59] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 16:07:59] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: INSTALL_TIME with: Sat May 8 16:07:58 2010
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9545
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT with: 9580
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 16:07:59] [debug] Converting ‘/usr/share/pki/ca/webapps/ca/WEB-INF/web.xml’ > '/var/lib/pki-subca/webapps/ca/WEB-INF/web.xml' ...
[2010-05-08 16:07:59] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-subca/server.xml
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: TOMCAT_SERVER_PORT with: 9801
[2010-05-08 16:07:59] [debug] replacing: PKI_RANDOM_NUMBER with: iBzt5I3F04LOKKJ6Zbzt
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 16:07:59] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 16:07:59] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 16:07:59] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT with: 9544
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_INSTANCE_ID with: pki-subca
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: 9546
[2010-05-08 16:07:59] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-subca/CS.cfg
[2010-05-08 16:07:59] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ca
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_SECURE_PORT with: 9543
[2010-05-08 16:07:59] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 16:07:59] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 16:07:59] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 16:07:59] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: INSTALL_TIME with: Sat May 8 16:07:58 2010
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 9545
[2010-05-08 16:07:59] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 16:07:59] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 16:07:59] [debug] replacing: PKI_UNSECURE_PORT with: 9580
[2010-05-08 16:07:59] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 16:07:59] [debug] Processing PKI files and symbolic links for '/var/lib/pki-subca' ...
[2010-05-08 16:08:00] [debug] Processing PKI security databases for '/var/lib/pki-subca' ...
[2010-05-08 16:08:00] [debug] Processing PKI security modules for '/var/lib/pki-subca' ...
[2010-05-08 16:08:00] [debug] Attempting to add hardware security modules to system if applicable ...
[2010-05-08 16:08:00] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 16:08:00] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 16:08:00] [debug] Restorecon file context for /usr/share/java/pki
[2010-05-08 16:08:00] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 16:08:00] [debug] Setting selinux file context for /usr/bin/dtomcat5-pki-subca

PKI instance creation completed ...

Stopping pki-subca:
process already stopped
==========================================================
Starting pki-subca: [ OK ]
pki-subca (pid 29931) is running …
‘pki-subca’ must still be CONFIGURED!
(see /var/log/pki-subca-install.log)

Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:9545/ca/admin/console/config/login?pin=T6TF1PtACWnLDIkzR9gI
After configuration, the server can be operated by the command:
/sbin/service pki-cad restart pki-subca
[root@i ~]#
[root@i ~]# /sbin/service pki-cad restart pki-subca
Stopping pki-subca: ............................... [ OK ]
========================================================
Starting pki-subca: [ OK ]
pki-subca (pid 31171) is running …
Unsecure Port = http://i.xxxxom.or.id:9580/ca/ee/ca
Secure Agent Port = https://i.xxxxom.or.id:9543/ca/agent/ca
Secure EE Port = https://i.xxxxom.or.id:9544/ca/ee/ca
Secure Admin Port = https://i.xxxxom.or.id:9545/ca/services
EE Client Auth Port = https://i.xxxxom.or.id:9546/ca/eeca/ca
PKI Console Port = pkiconsole https://i.xxxxom.or.id:9545/ca
Tomcat Port = 9801 (for shutdown)
PKI Instance Name: pki-subca
PKI Subsystem Type: Subordinate CA
Registered PKI Security Domain Information:
=====================================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
=====================================================
[root@i ~]#

DEPLOY PKI-KRA

[root@i etc]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkikra
> -subsystem_type=kra
> -agent_secure_port=10443
> -ee_secure_port=10444
> -admin_secure_port=10445
> -unsecure_port=10180
> -tomcat_server_port=10701
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkikra
> redirect logs=/var/log/pkikra
> -verbose——————skip——————————————————————-
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:36:44] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-kra
[2010-05-08 17:36:44] [debug] replacing: PKI_INSTANCE_ID with: pki-kra
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:36:44] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_SECURE_PORT with: 10443
[2010-05-08 17:36:44] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-kra/CS.cfg
[2010-05-08 17:36:44] [debug] replacing: PKI_SUBSYSTEM_TYPE with: kra
[2010-05-08 17:36:44] [debug] replacing: PKI_AGENT_SECURE_PORT with: 10443
[2010-05-08 17:36:44] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:36:44] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:36:44] [debug] replacing: INSTALL_TIME with: Sat May 8 17:36:44 2010
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 10445
[2010-05-08 17:36:44] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT with: 10180
[2010-05-08 17:36:44] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:36:44] [debug] Converting ‘/usr/share/pki/kra/conf/serverCertNick.conf’ > '/etc/pki-kra/serverCertNick.conf' ...
[2010-05-08 17:36:44] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-kra/server.xml
[2010-05-08 17:36:44] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: TOMCAT_SERVER_PORT with: 10701
[2010-05-08 17:36:44] [debug] replacing: PKI_RANDOM_NUMBER with: f7wZwxm4UZA8kCJIQTQ0
[2010-05-08 17:36:44] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:36:44] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:36:44] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:36:44] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_PORT with: 10444
[2010-05-08 17:36:44] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:36:44] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-kra
[2010-05-08 17:36:44] [debug] replacing: PKI_INSTANCE_ID with: pki-kra
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:36:44] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:36:44] [debug] replacing: PKI_SECURE_PORT with: 10443
[2010-05-08 17:36:44] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-kra/CS.cfg
[2010-05-08 17:36:44] [debug] replacing: PKI_SUBSYSTEM_TYPE with: kra
[2010-05-08 17:36:44] [debug] replacing: PKI_AGENT_SECURE_PORT with: 10443
[2010-05-08 17:36:44] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:44] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:36:44] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:36:44] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:36:44] [debug] replacing: INSTALL_TIME with: Sat May 8 17:36:44 2010
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:36:44] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 10445
[2010-05-08 17:36:44] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:36:44] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:36:44] [debug] replacing: PKI_UNSECURE_PORT with: 10180
[2010-05-08 17:36:44] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:36:44] [debug] Converting '/usr/share/pki/kra/conf/tomcat5.conf' > ‘/etc/pki-kra/tomcat5.conf’ ...
[2010-05-08 17:36:45] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-kra/server.xml
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: TOMCAT_SERVER_PORT with: 10701
[2010-05-08 17:36:45] [debug] replacing: PKI_RANDOM_NUMBER with: f7wZwxm4UZA8kCJIQTQ0
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:36:45] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:36:45] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT with: 10444
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ID with: pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:36:45] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-kra/CS.cfg
[2010-05-08 17:36:45] [debug] replacing: PKI_SUBSYSTEM_TYPE with: kra
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:36:45] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: INSTALL_TIME with: Sat May 8 17:36:44 2010
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 10445
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT with: 10180
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:36:45] [debug] Converting ‘/usr/share/pki/kra/webapps/kra/WEB-INF/velocity.properties’ > '/var/lib/pki-kra/webapps/kra/WEB-INF/velocity.properties' ...
[2010-05-08 17:36:45] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-kra/server.xml
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: TOMCAT_SERVER_PORT with: 10701
[2010-05-08 17:36:45] [debug] replacing: PKI_RANDOM_NUMBER with: f7wZwxm4UZA8kCJIQTQ0
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:36:45] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:36:45] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT with: 10444
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ID with: pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:36:45] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-kra/CS.cfg
[2010-05-08 17:36:45] [debug] replacing: PKI_SUBSYSTEM_TYPE with: kra
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:36:45] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: INSTALL_TIME with: Sat May 8 17:36:44 2010
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 10445
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:36:45] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT with: 10180
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:36:45] [debug] Converting '/usr/share/pki/kra/webapps/kra/WEB-INF/web.xml' > ‘/var/lib/pki-kra/webapps/kra/WEB-INF/web.xml’ ...
[2010-05-08 17:36:45] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-kra/server.xml
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: TOMCAT_SERVER_PORT with: 10701
[2010-05-08 17:36:45] [debug] replacing: PKI_RANDOM_NUMBER with: f7wZwxm4UZA8kCJIQTQ0
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:36:45] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:36:45] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:36:45] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT with: 10444
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_INSTANCE_ID with: pki-kra
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:36:45] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-kra/CS.cfg
[2010-05-08 17:36:45] [debug] replacing: PKI_SUBSYSTEM_TYPE with: kra
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_SECURE_PORT with: 10443
[2010-05-08 17:36:45] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:36:45] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:36:45] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: INSTALL_TIME with: Sat May 8 17:36:44 2010
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 10445
[2010-05-08 17:36:45] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:36:45] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:36:45] [debug] replacing: PKI_UNSECURE_PORT with: 10180
[2010-05-08 17:36:45] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:36:45] [debug] Processing PKI files and symbolic links for ‘/var/lib/pki-kra’ ...
[2010-05-08 17:36:45] [debug] Processing PKI security databases for ‘/var/lib/pki-kra’ ...
[2010-05-08 17:36:45] [debug] Processing PKI security modules for ‘/var/lib/pki-kra’ ...
[2010-05-08 17:36:45] [debug] Attempting to add hardware security modules to system if applicable …
[2010-05-08 17:36:45] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 17:36:45] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 17:36:45] [debug] Restorecon file context for /usr/share/java/pki
[2010-05-08 17:36:45] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 17:36:45] [debug] restorecon file context for /usr/bin/dtomcat5-pki-kra
[2010-05-08 17:36:45] [debug] Restorecon file context for /var/lib/pki-kra
[2010-05-08 17:36:45] [debug] Restorecon file context for /var/run
[2010-05-08 17:36:46] [debug] Setting selinux file context for “/var/log/pki-kra(/.*)?”

PKI instance creation completed …
Stopping pki-kra:
process already stopped
=======================================
Starting pki-kra: [ OK ]
pki-kra (pid 10994) is running …
‘pki-kra’ must still be CONFIGURED!
(see /var/log/pki-kra-install.log)
Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:10445/kra/admin/console/config/login?pin=f7wZwxm4UZA8kCJIQTQ0
After configuration, the server can be operated by the command:
/sbin/service pki-krad restart pki-kra
[root@i etc]#

[root@i etc]# /sbin/service pki-krad restart pki-kra
Stopping pki-kra: .. [ OK ]
========================================================
Starting pki-kra: [ OK ]
pki-kra (pid 11937) is running …

Unsecure Port = http://i.xxxxom.or.id:10180/kra/ee/kra
Secure Agent Port = https://i.xxxxom.or.id:10443/kra/agent/kra
Secure EE Port = https://i.xxxxom.or.id:10444/kra/ee/kra
Secure Admin Port = https://i.xxxxom.or.id:10445/kra/services
PKI Console Port = pkiconsole https://i.xxxxom.or.id:10445/kra
Tomcat Port = 10701 (for shutdown)
PKI Instance Name: pki-kra
PKI Subsystem Type: DRM
Registered PKI Security Domain Information:
======================================================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
======================================================================
[root@i etc]#

DEPLOY PKI-OCSP

[root@i etc]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkiocsp
> -subsystem_type=ocsp
> -agent_secure_port=11443
> -ee_secure_port=11444
> -admin_secure_port=11445
> -unsecure_port=11180
> -tomcat_server_port=11701
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkiocsp
> redirect logs=/var/log/pkiocsp
> -verbose————————————————skip——————————————————-
[2010-05-08 17:45:32] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:45:32] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ocsp
[2010-05-08 17:45:32] [debug] replacing: PKI_INSTANCE_ID with: pki-ocsp
[2010-05-08 17:45:32] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:45:32] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:45:32] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:45:32] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:45:32] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_SECURE_PORT with: 11443
[2010-05-08 17:45:32] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ocsp/CS.cfg
[2010-05-08 17:45:32] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ocsp
[2010-05-08 17:45:32] [debug] replacing: PKI_AGENT_SECURE_PORT with: 11443
[2010-05-08 17:45:32] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:45:32] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:45:32] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:45:32] [debug] replacing: INSTALL_TIME with: Sat May 8 17:45:32 2010
[2010-05-08 17:45:32] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 11445
[2010-05-08 17:45:32] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:45:32] [debug] replacing: PKI_UNSECURE_PORT with: 11180
[2010-05-08 17:45:32] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:45:32] [debug] Converting ‘/usr/share/pki/ocsp/conf/serverCertNick.conf’ > '/etc/pki-ocsp/serverCertNick.conf' ...
[2010-05-08 17:45:32] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ocsp/server.xml
[2010-05-08 17:45:32] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:32] [debug] replacing: TOMCAT_SERVER_PORT with: 11701
[2010-05-08 17:45:32] [debug] replacing: PKI_RANDOM_NUMBER with: hA0oT8qGoqBjsHGEqqv7
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:45:33] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:45:33] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT with: 11444
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ID with: pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:45:33] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ocsp/CS.cfg
[2010-05-08 17:45:33] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:45:33] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: INSTALL_TIME with: Sat May 8 17:45:32 2010
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 11445
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT with: 11180
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:45:33] [debug] Converting '/usr/share/pki/ocsp/conf/tomcat5.conf' > ‘/etc/pki-ocsp/tomcat5.conf’ ...
[2010-05-08 17:45:33] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ocsp/server.xml
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: TOMCAT_SERVER_PORT with: 11701
[2010-05-08 17:45:33] [debug] replacing: PKI_RANDOM_NUMBER with: hA0oT8qGoqBjsHGEqqv7
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:45:33] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:45:33] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT with: 11444
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ID with: pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:45:33] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ocsp/CS.cfg
[2010-05-08 17:45:33] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:45:33] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: INSTALL_TIME with: Sat May 8 17:45:32 2010
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 11445
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT with: 11180
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:45:33] [debug] Converting ‘/usr/share/pki/ocsp/webapps/ocsp/WEB-INF/velocity.properties’ > '/var/lib/pki-ocsp/webapps/ocsp/WEB-INF/velocity.properties' ...
[2010-05-08 17:45:33] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ocsp/server.xml
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: TOMCAT_SERVER_PORT with: 11701
[2010-05-08 17:45:33] [debug] replacing: PKI_RANDOM_NUMBER with: hA0oT8qGoqBjsHGEqqv7
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:45:33] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:45:33] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT with: 11444
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ID with: pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:45:33] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ocsp/CS.cfg
[2010-05-08 17:45:33] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_SECURE_PORT with: 11443
[2010-05-08 17:45:33] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:45:33] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: INSTALL_TIME with: Sat May 8 17:45:32 2010
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 11445
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:45:33] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT with: 11180
[2010-05-08 17:45:33] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:45:33] [debug] Converting '/usr/share/pki/ocsp/webapps/ocsp/WEB-INF/web.xml' > ‘/var/lib/pki-ocsp/webapps/ocsp/WEB-INF/web.xml’ ...
[2010-05-08 17:45:33] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-ocsp/server.xml
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: TOMCAT_SERVER_PORT with: 11701
[2010-05-08 17:45:33] [debug] replacing: PKI_RANDOM_NUMBER with: hA0oT8qGoqBjsHGEqqv7
[2010-05-08 17:45:33] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:45:33] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:45:33] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:45:33] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT with: 11444
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_INSTANCE_ID with: pki-ocsp
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:33] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:45:33] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:45:33] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:45:33] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_SECURE_PORT with: 11443
[2010-05-08 17:45:34] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-ocsp/CS.cfg
[2010-05-08 17:45:34] [debug] replacing: PKI_SUBSYSTEM_TYPE with: ocsp
[2010-05-08 17:45:34] [debug] replacing: PKI_AGENT_SECURE_PORT with: 11443
[2010-05-08 17:45:34] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:45:34] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:45:34] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:45:34] [debug] replacing: INSTALL_TIME with: Sat May 8 17:45:32 2010
[2010-05-08 17:45:34] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 11445
[2010-05-08 17:45:34] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:45:34] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:45:34] [debug] replacing: PKI_UNSECURE_PORT with: 11180
[2010-05-08 17:45:34] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:45:34] [debug] Processing PKI files and symbolic links for ‘/var/lib/pki-ocsp’ ...
[2010-05-08 17:45:34] [debug] Processing PKI security databases for ‘/var/lib/pki-ocsp’ ...
[2010-05-08 17:45:35] [debug] Processing PKI security modules for ‘/var/lib/pki-ocsp’ ...
[2010-05-08 17:45:35] [debug] Attempting to add hardware security modules to system if applicable …
[2010-05-08 17:45:35] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 17:45:35] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 17:45:35] [debug] Restorecon file context for /usr/share/java/pki
[2010-05-08 17:45:35] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 17:45:35] [debug] restorecon file context for /usr/bin/dtomcat5-pki-ocsp
[2010-05-08 17:45:35] [debug] Restorecon file context for /var/lib/pki-ocsp
[2010-05-08 17:45:35] [debug] Restorecon file context for /var/run
[2010-05-08 17:45:35] [debug] Setting selinux file context for “/var/log/pki-ocsp(/.*)?”

PKI instance creation completed …
Stopping pki-ocsp:
process already stopped
========================================================
Starting pki-ocsp: [ OK ]
pki-ocsp (pid 12804) is running …
‘pki-ocsp’ must still be CONFIGURED!
(see /var/log/pki-ocsp-install.log)

Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:11445/ocsp/admin/console/config/login?pin=hA0oT8qGoqBjsHGEqqv7
After configuration, the server can be operated by the command:
/sbin/service pki-ocspd restart pki-ocsp
[root@i etc]#

[root@i etc]# /sbin/service pki-ocspd restart pki-ocsp
Stopping pki-ocsp: ... [ OK ]
========================================================
Starting pki-ocsp: [ OK ]
pki-ocsp (pid 13741) is running …
Unsecure Port = http://i.xxxxom.or.id:11180/ocsp/ee/ocsp
Secure Agent Port = https://i.xxxxom.or.id:11443/ocsp/agent/ocsp
Secure EE Port = https://i.xxxxom.or.id:11444/ocsp/ee/ocsp
Secure Admin Port = https://i.xxxxom.or.id:11445/ocsp/services
PKI Console Port = pkiconsole https://i.xxxxom.or.id:11445/ocsp
Tomcat Port = 11701 (for shutdown)
PKI Instance Name: pki-ocsp
PKI Subsystem Type: OCSP
Registered PKI Security Domain Information:
==============================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
==============================================

DEPLOY PKI-TKS

[root@i etc]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkitks
> -subsystem_type=tks
> -agent_secure_port=13443
> -ee_secure_port=13444
> -admin_secure_port=13445
> -unsecure_port=13180
> -tomcat_server_port=13701
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkitks
> redirect logs=/var/log/pkitks
> -verbose—————————————skip————————————————————-
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_ID with: pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:59:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT with: 13443
[2010-05-08 17:59:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-tks/CS.cfg
[2010-05-08 17:59:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: tks
[2010-05-08 17:59:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 13443
[2010-05-08 17:59:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:59:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:59:57] [debug] replacing: INSTALL_TIME with: Sat May 8 17:59:57 2010
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 13445
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT with: 13180
[2010-05-08 17:59:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:59:57] [debug] Converting ‘/usr/share/pki/tks/conf/serverCertNick.conf’ > '/etc/pki-tks/serverCertNick.conf' ...
[2010-05-08 17:59:57] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-tks/server.xml
[2010-05-08 17:59:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: TOMCAT_SERVER_PORT with: 13701
[2010-05-08 17:59:57] [debug] replacing: PKI_RANDOM_NUMBER with: uiHRXQPOplP0aRJouePc
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:59:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:59:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:59:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT with: 13444
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_ID with: pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:59:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT with: 13443
[2010-05-08 17:59:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-tks/CS.cfg
[2010-05-08 17:59:57] [debug] replacing: PKI_SUBSYSTEM_TYPE with: tks
[2010-05-08 17:59:57] [debug] replacing: PKI_AGENT_SECURE_PORT with: 13443
[2010-05-08 17:59:57] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:59:57] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:59:57] [debug] replacing: INSTALL_TIME with: Sat May 8 17:59:57 2010
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 13445
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:59:57] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT with: 13180
[2010-05-08 17:59:57] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:59:57] [debug] Converting '/usr/share/pki/tks/conf/tomcat5.conf' > ‘/etc/pki-tks/tomcat5.conf’ ...
[2010-05-08 17:59:57] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-tks/server.xml
[2010-05-08 17:59:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: TOMCAT_SERVER_PORT with: 13701
[2010-05-08 17:59:57] [debug] replacing: PKI_RANDOM_NUMBER with: uiHRXQPOplP0aRJouePc
[2010-05-08 17:59:57] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:59:57] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:59:57] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:59:57] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT with: 13444
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_INSTANCE_ID with: pki-tks
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:57] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:59:57] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:59:57] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:59:57] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-tks/CS.cfg
[2010-05-08 17:59:58] [debug] replacing: PKI_SUBSYSTEM_TYPE with: tks
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:59:58] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: INSTALL_TIME with: Sat May 8 17:59:57 2010
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 13445
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT with: 13180
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:59:58] [debug] Converting ‘/usr/share/pki/tks/webapps/tks/WEB-INF/velocity.properties’ > '/var/lib/pki-tks/webapps/tks/WEB-INF/velocity.properties' ...
[2010-05-08 17:59:58] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-tks/server.xml
[2010-05-08 17:59:58] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: TOMCAT_SERVER_PORT with: 13701
[2010-05-08 17:59:58] [debug] replacing: PKI_RANDOM_NUMBER with: uiHRXQPOplP0aRJouePc
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:59:58] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:59:58] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:59:58] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT with: 13444
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-tks
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_ID with: pki-tks
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Port Connector -->
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:59:58] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with: <!-- Port Separation: EE Secure Client Auth Port Connector -->
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-tks/CS.cfg
[2010-05-08 17:59:58] [debug] replacing: PKI_SUBSYSTEM_TYPE with: tks
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:59:58] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: INSTALL_TIME with: Sat May 8 17:59:57 2010
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Unsecure Port Connector -->
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Admin Secure Port Connector -->
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 13445
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with: <!-- Port Separation: Agent Secure Port Connector -->
[2010-05-08 17:59:58] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT with: 13180
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:59:58] [debug] Converting '/usr/share/pki/tks/webapps/tks/WEB-INF/web.xml' > ‘/var/lib/pki-tks/webapps/tks/WEB-INF/web.xml’ ...
[2010-05-08 17:59:58] [debug] replacing: PKI_SERVER_XML_CONF with: /etc/pki-tks/server.xml
[2010-05-08 17:59:58] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: TOMCAT_SERVER_PORT with: 13701
[2010-05-08 17:59:58] [debug] replacing: PKI_RANDOM_NUMBER with: uiHRXQPOplP0aRJouePc
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT_CONNECTOR_NAME with: Agent
[2010-05-08 17:59:58] [debug] replacing: PKI_MACHINE_NAME with: i.gultom.or.id
[2010-05-08 17:59:58] [debug] replacing: PKI_FLAVOR with: pki
[2010-05-08 17:59:58] [debug] replacing: PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT with: 13444
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_ROOT with: /var/lib
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_CONNECTOR_NAME with: EEClientAuth
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_PATH with: /var/lib/pki-tks
[2010-05-08 17:59:58] [debug] replacing: PKI_INSTANCE_ID with: pki-tks
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT_CONNECTOR_NAME with: Admin
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT_CONNECTOR_NAME with: Unsecure
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT with: -1
[2010-05-08 17:59:58] [debug] replacing: PKI_WEBAPPS_NAME with: webapps
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_CLIENT_AUTH_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CFG_PATH_NAME with: /etc/pki-tks/CS.cfg
[2010-05-08 17:59:58] [debug] replacing: PKI_SUBSYSTEM_TYPE with: tks
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_SECURE_PORT with: 13443
[2010-05-08 17:59:58] [debug] replacing: PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_CERT_DB_PASSWORD with: (sensitive)
[2010-05-08 17:59:58] [debug] replacing: PKI_EE_SECURE_PORT_CONNECTOR_NAME with: EE
[2010-05-08 17:59:58] [debug] replacing: PKI_GROUP with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: INSTALL_TIME with: Sat May 8 17:59:57 2010
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_ADMIN_SECURE_PORT with: 13445
[2010-05-08 17:59:58] [debug] replacing: PKI_SECURE_PORT_SERVER_COMMENT with:
[2010-05-08 17:59:58] [debug] replacing: PKI_USER with: pkiuser
[2010-05-08 17:59:58] [debug] replacing: PKI_UNSECURE_PORT with: 13180
[2010-05-08 17:59:58] [debug] replacing: PKI_AGENT_CLIENTAUTH with: true
[2010-05-08 17:59:58] [debug] Processing PKI files and symbolic links for ‘/var/lib/pki-tks’ ...
[2010-05-08 17:59:58] [debug] Processing PKI security databases for ‘/var/lib/pki-tks’ ...
[2010-05-08 17:59:59] [debug] Processing PKI security modules for ‘/var/lib/pki-tks’ ...
[2010-05-08 17:59:59] [debug] Attempting to add hardware security modules to system if applicable …
[2010-05-08 17:59:59] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 17:59:59] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 17:59:59] [debug] Restorecon file context for /usr/share/java/pki
[2010-05-08 17:59:59] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 17:59:59] [debug] restorecon file context for /usr/bin/dtomcat5-pki-tks
[2010-05-08 17:59:59] [debug] Restorecon file context for /var/lib/pki-tks
[2010-05-08 17:59:59] [debug] Restorecon file context for /var/run
[2010-05-08 17:59:59] [debug] Setting selinux file context for “/var/log/pki-tks(/.*)?”

PKI instance creation completed …
Stopping pki-tks:
process already stopped
===========================================
Starting pki-tks: [ OK ]
pki-tks (pid 14607) is running …
‘pki-tks’ must still be CONFIGURED!
(see /var/log/pki-tks-install.log)
Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:13445/tks/admin/console/config/login?pin=uiHRXQPOplP0aRJouePc
After configuration, the server can be operated by the command:
/sbin/service pki-tksd restart pki-tks
[root@i etc]#

[root@i etc] /sbin/service pki-tksd restart pki-tks
Stopping pki-tks: ... [ OK ]
============================================
Starting pki-tks: [ OK ]
pki-tks (pid 15512) is running …
Unsecure Port = http://i.xxxxom.or.id:13180/tks/ee/tks
Secure Agent Port = https://i.xxxxom.or.id:13443/tks/agent/tks
Secure EE Port = https://i.xxxxom.or.id:13444/tks/ee/tks
Secure Admin Port = https://i.xxxxom.or.id:13445/tks/services
PKI Console Port = pkiconsole https://i.xxxxom.or.id:13445/tks
Tomcat Port = 13701 (for shutdown)
PKI Instance Name: pki-tks
PKI Subsystem Type: TKS
Registered PKI Security Domain Information:
============================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
============================================
[root@i etc]#

DEPLOY PKI-RA

[root@i etc]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkira
> -subsystem_type=ra
> -secure_port=12889
> -non_clientauth_secure_port=12890
> -unsecure_port=12888
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkira
> redirect logs=/var/log/pkira
> -verbose———————————————————skip——————————————————-
[2010-05-08 18:07:55] [debug] Converting ‘/usr/share/pki/ra/setup/config.desktop’ > '/usr/share/applications/pki-ra-config.desktop' ...
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:07:55] [debug] replacing: with: pki
[2010-05-08 18:07:55] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SUBSYSTEM_TYPE with: ra
[2010-05-08 18:07:55] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 12890
[2010-05-08 18:07:55] [debug] replacing: PROCESS_ID with: 15745
[2010-05-08 18:07:55] [debug] replacing: SERVER_ROOT with: /var/lib/pki-ra
[2010-05-08 18:07:55] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:07:55] [debug] replacing: PKI_RANDOM_NUMBER with: 3l6C1izcFyoUtU28lKrr
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ID with: pki-ra
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:07:55] [debug] replacing: NSS_CONF with: /etc/pki-ra/nss.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:07:55] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:07:55] [debug] replacing: TPS_DIR with: /usr/share/pki/ra
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:07:55] [debug] replacing: PORT with: 12888
[2010-05-08 18:07:55] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SECURE_PORT with: 12889
[2010-05-08 18:07:55] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:07:55] [debug] replacing: REQUIRE_CFG_PL with: require "";
[2010-05-08 18:07:55] [debug] replacing: HTTPD_CONF with: /etc/pki-ra/httpd.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:07:55] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:07:55] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:07:55] [debug] Converting '/usr/share/pki/ra/conf/httpd.conf' > ‘/etc/pki-ra/httpd.conf’ ...
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:07:55] [debug] replacing: with: pki
[2010-05-08 18:07:55] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SUBSYSTEM_TYPE with: ra
[2010-05-08 18:07:55] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 12890
[2010-05-08 18:07:55] [debug] replacing: PROCESS_ID with: 15745
[2010-05-08 18:07:55] [debug] replacing: SERVER_ROOT with: /var/lib/pki-ra
[2010-05-08 18:07:55] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:07:55] [debug] replacing: PKI_RANDOM_NUMBER with: 3l6C1izcFyoUtU28lKrr
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ID with: pki-ra
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:07:55] [debug] replacing: NSS_CONF with: /etc/pki-ra/nss.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:07:55] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:07:55] [debug] replacing: TPS_DIR with: /usr/share/pki/ra
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:07:55] [debug] replacing: PORT with: 12888
[2010-05-08 18:07:55] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SECURE_PORT with: 12889
[2010-05-08 18:07:55] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:07:55] [debug] replacing: REQUIRE_CFG_PL with: require “”;
[2010-05-08 18:07:55] [debug] replacing: HTTPD_CONF with: /etc/pki-ra/httpd.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:07:55] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:07:55] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:07:55] [debug] Converting ‘/usr/share/pki/ra/conf/nss.conf’ > '/etc/pki-ra/nss.conf'
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:07:55] [debug] replacing: with: pki
[2010-05-08 18:07:55] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SUBSYSTEM_TYPE with: ra
[2010-05-08 18:07:55] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 12890
[2010-05-08 18:07:55] [debug] replacing: PROCESS_ID with: 15745
[2010-05-08 18:07:55] [debug] replacing: SERVER_ROOT with: /var/lib/pki-ra
[2010-05-08 18:07:55] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:07:55] [debug] replacing: PKI_RANDOM_NUMBER with: 3l6C1izcFyoUtU28lKrr
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ID with: pki-ra
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:07:55] [debug] replacing: NSS_CONF with: /etc/pki-ra/nss.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:07:55] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:07:55] [debug] replacing: TPS_DIR with: /usr/share/pki/ra
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:07:55] [debug] replacing: PORT with: 12888
[2010-05-08 18:07:55] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SECURE_PORT with: 12889
[2010-05-08 18:07:55] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:07:55] [debug] replacing: REQUIRE_CFG_PL with: require "";
[2010-05-08 18:07:55] [debug] replacing: HTTPD_CONF with: /etc/pki-ra/httpd.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:07:55] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:07:55] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:07:55] [debug] Converting '/usr/share/pki/ra/conf/perl.conf' > ‘/etc/pki-ra/perl.conf’
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:07:55] [debug] replacing: with: pki
[2010-05-08 18:07:55] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SUBSYSTEM_TYPE with: ra
[2010-05-08 18:07:55] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 12890
[2010-05-08 18:07:55] [debug] replacing: PROCESS_ID with: 15745
[2010-05-08 18:07:55] [debug] replacing: SERVER_ROOT with: /var/lib/pki-ra
[2010-05-08 18:07:55] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:07:55] [debug] replacing: PKI_RANDOM_NUMBER with: 3l6C1izcFyoUtU28lKrr
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ID with: pki-ra
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:07:55] [debug] replacing: NSS_CONF with: /etc/pki-ra/nss.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:07:55] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:07:55] [debug] replacing: TPS_DIR with: /usr/share/pki/ra
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:07:55] [debug] replacing: PORT with: 12888
[2010-05-08 18:07:55] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SECURE_PORT with: 12889
[2010-05-08 18:07:55] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:07:55] [debug] replacing: REQUIRE_CFG_PL with: require “”;
[2010-05-08 18:07:55] [debug] replacing: HTTPD_CONF with: /etc/pki-ra/httpd.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:07:55] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:07:55] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:07:55] [debug] Converting ‘/usr/share/pki/ra/scripts/nss_pcache’ > '/var/lib/pki-ra/scripts/nss_pcache' ...
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:07:55] [debug] replacing: with: pki
[2010-05-08 18:07:55] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SUBSYSTEM_TYPE with: ra
[2010-05-08 18:07:55] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 12890
[2010-05-08 18:07:55] [debug] replacing: PROCESS_ID with: 15745
[2010-05-08 18:07:55] [debug] replacing: SERVER_ROOT with: /var/lib/pki-ra
[2010-05-08 18:07:55] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:07:55] [debug] replacing: PKI_RANDOM_NUMBER with: 3l6C1izcFyoUtU28lKrr
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ID with: pki-ra
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:07:55] [debug] replacing: NSS_CONF with: /etc/pki-ra/nss.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:07:55] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:07:55] [debug] replacing: TPS_DIR with: /usr/share/pki/ra
[2010-05-08 18:07:55] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:07:55] [debug] replacing: PORT with: 12888
[2010-05-08 18:07:55] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:07:55] [debug] replacing: SECURE_PORT with: 12889
[2010-05-08 18:07:55] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:07:55] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:07:55] [debug] replacing: REQUIRE_CFG_PL with: require "";
[2010-05-08 18:07:55] [debug] replacing: HTTPD_CONF with: /etc/pki-ra/httpd.conf
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:07:55] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:07:55] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:07:55] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:07:55] [debug] Processing PKI files and symbolic links for '/var/lib/pki-ra' ...
[2010-05-08 18:07:55] [debug] Processing PKI security databases for '/var/lib/pki-ra' ...
[2010-05-08 18:07:56] [debug] Processing PKI security modules for '/var/lib/pki-ra' ...
[2010-05-08 18:07:56] [debug] Attempting to add hardware security modules to system if applicable ...
[2010-05-08 18:07:56] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 18:07:57] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 18:07:57] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 18:07:57] [debug] Restorecon file context for /var/lib/pki-ra
[2010-05-08 18:07:57] [debug] Setting selinux file context for "/var/log/pki-ra(/.*)?"
-------skip----------------------------------
[2010-05-08 18:08:11] [debug] Restorecon /etc/pki-ra
[2010-05-08 18:08:11] [debug] Restorecon file context for /usr/sbin/httpd.worker
[2010-05-08 18:08:11] [debug] Setting selinux context pki_ra_port_t for 12890
PKI instance creation completed ...
Stopping pki-ra:
process already stopped
==========================================================
Starting pki-ra: . [ OK ]
pki-ra (pid 15887) is running …
‘pki-ra’ must still be CONFIGURED!
(see /var/log/pki-ra-install.log)
Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:12890/ra/admin/console/config/login?pin=3l6C1izcFyoUtU28lKrr
After configuration, the server can be operated by the command:
/sbin/service pki-rad restart pki-ra
[root@i etc]#

[root@i etc]# /sbin/service pki-rad restart pki-ra
Stopping pki-ra: . [ OK ]
========================================================
Starting pki-ra: . [ OK ]
pki-ra (pid 17771) is running …
Unsecure Port = http://i.xxxxom.or.id:12888
Secure Clientauth Port = https://i.xxxxom.or.id:12889
Secure Non-Clientauth Port = https://i.xxxxom.or.id:12890
PKI Instance Name: pki-ra
PKI Subsystem Type: RA
Registered PKI Security Domain Information:
=================================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
=================================================
[root@i etc]#

DEPLOY PKI-TPS

[root@i etc]# pkicreate -pki_instance_root=/var/lib
> pki_instance_name=pkitps
> -subsystem_type=tps
> -secure_port=7889
> -non_clientauth_secure_port=7890
> -unsecure_port=7888
> -user=pkiuser
> -group=pkiuser
> redirect conf=/etc/pkitps
> redirect logs=/var/log/pkitps
> -verbose——————skip——————————[2010-05-08 18:19:02] [debug] Converting ‘/usr/share/pki/tps/scripts/schemaMods.ldif’ > '/var/lib/pki-tps/scripts/schemaMods.ldif' ...
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:19:02] [debug] replacing: with: pki
[2010-05-08 18:19:02] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SUBSYSTEM_TYPE with: tps
[2010-05-08 18:19:02] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 7890
[2010-05-08 18:19:02] [debug] replacing: PROCESS_ID with: 18670
[2010-05-08 18:19:02] [debug] replacing: SERVER_ROOT with: /var/lib/pki-tps
[2010-05-08 18:19:02] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:19:02] [debug] replacing: PKI_RANDOM_NUMBER with: cDtRK8DGDN3kjvIhxiah
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ID with: pki-tps
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:19:02] [debug] replacing: NSS_CONF with: /etc/pki-tps/nss.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:19:02] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:19:02] [debug] replacing: TPS_DIR with: /usr/share/pki/tps
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:19:02] [debug] replacing: PORT with: 7888
[2010-05-08 18:19:02] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SECURE_PORT with: 7889
[2010-05-08 18:19:02] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:19:02] [debug] replacing: REQUIRE_CFG_PL with: require "/var/lib/pki-tps/cgi-bin/sow/cfg.pl";
[2010-05-08 18:19:02] [debug] replacing: HTTPD_CONF with: /etc/pki-tps/httpd.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:19:02] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:19:02] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:19:02] [debug] Converting '/usr/share/pki/tps/conf/httpd.conf' > ‘/etc/pki-tps/httpd.conf’ ...
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:19:02] [debug] replacing: with: pki
[2010-05-08 18:19:02] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SUBSYSTEM_TYPE with: tps
[2010-05-08 18:19:02] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 7890
[2010-05-08 18:19:02] [debug] replacing: PROCESS_ID with: 18670
[2010-05-08 18:19:02] [debug] replacing: SERVER_ROOT with: /var/lib/pki-tps
[2010-05-08 18:19:02] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:19:02] [debug] replacing: PKI_RANDOM_NUMBER with: cDtRK8DGDN3kjvIhxiah
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ID with: pki-tps
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:19:02] [debug] replacing: NSS_CONF with: /etc/pki-tps/nss.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:19:02] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:19:02] [debug] replacing: TPS_DIR with: /usr/share/pki/tps
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:19:02] [debug] replacing: PORT with: 7888
[2010-05-08 18:19:02] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SECURE_PORT with: 7889
[2010-05-08 18:19:02] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:19:02] [debug] replacing: REQUIRE_CFG_PL with: require “/var/lib/pki-tps/cgi-bin/sow/cfg.pl”;
[2010-05-08 18:19:02] [debug] replacing: HTTPD_CONF with: /etc/pki-tps/httpd.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:19:02] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:19:02] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:19:02] [debug] Converting ‘/usr/share/pki/tps/conf/nss.conf’ > '/etc/pki-tps/nss.conf' ...
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:19:02] [debug] replacing: with: pki
[2010-05-08 18:19:02] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SUBSYSTEM_TYPE with: tps
[2010-05-08 18:19:02] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 7890
[2010-05-08 18:19:02] [debug] replacing: PROCESS_ID with: 18670
[2010-05-08 18:19:02] [debug] replacing: SERVER_ROOT with: /var/lib/pki-tps
[2010-05-08 18:19:02] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:19:02] [debug] replacing: PKI_RANDOM_NUMBER with: cDtRK8DGDN3kjvIhxiah
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ID with: pki-tps
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:19:02] [debug] replacing: NSS_CONF with: /etc/pki-tps/nss.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:19:02] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:19:02] [debug] replacing: TPS_DIR with: /usr/share/pki/tps
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:19:02] [debug] replacing: PORT with: 7888
[2010-05-08 18:19:02] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SECURE_PORT with: 7889
[2010-05-08 18:19:02] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:19:02] [debug] replacing: REQUIRE_CFG_PL with: require "/var/lib/pki-tps/cgi-bin/sow/cfg.pl";
[2010-05-08 18:19:02] [debug] replacing: HTTPD_CONF with: /etc/pki-tps/httpd.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:19:02] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:19:02] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:19:02] [debug] Converting '/usr/share/pki/tps/conf/perl.conf' > ‘/etc/pki-tps/perl.conf’ ...
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:19:02] [debug] replacing: with: pki
[2010-05-08 18:19:02] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:19:02] [debug] replacing: SUBSYSTEM_TYPE with: tps
[2010-05-08 18:19:02] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 7890
[2010-05-08 18:19:02] [debug] replacing: PROCESS_ID with: 18670
[2010-05-08 18:19:02] [debug] replacing: SERVER_ROOT with: /var/lib/pki-tps
[2010-05-08 18:19:02] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:19:02] [debug] replacing: PKI_RANDOM_NUMBER with: cDtRK8DGDN3kjvIhxiah
[2010-05-08 18:19:02] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:19:02] [debug] replacing: INSTANCE_ID with: pki-tps
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:19:02] [debug] replacing: NSS_CONF with: /etc/pki-tps/nss.conf
[2010-05-08 18:19:02] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:19:02] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:19:02] [debug] replacing: TPS_DIR with: /usr/share/pki/tps
[2010-05-08 18:19:03] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:19:03] [debug] replacing: PORT with: 7888
[2010-05-08 18:19:03] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:19:03] [debug] replacing: SECURE_PORT with: 7889
[2010-05-08 18:19:03] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:19:03] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:19:03] [debug] replacing: REQUIRE_CFG_PL with: require “/var/lib/pki-tps/cgi-bin/sow/cfg.pl”;
[2010-05-08 18:19:03] [debug] replacing: HTTPD_CONF with: /etc/pki-tps/httpd.conf
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:19:03] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:19:03] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:19:03] [debug] Converting ‘/usr/share/pki/tps/scripts/nss_pcache’ > '/var/lib/pki-tps/scripts/nss_pcache' ...
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_MODULE with: /etc/httpd/modules
[2010-05-08 18:19:03] [debug] replacing: with: pki
[2010-05-08 18:19:03] [debug] replacing: USERID with: pkiuser
[2010-05-08 18:19:03] [debug] replacing: SUBSYSTEM_TYPE with: tps
[2010-05-08 18:19:03] [debug] replacing: NON_CLIENTAUTH_SECURE_PORT with: 7890
[2010-05-08 18:19:03] [debug] replacing: PROCESS_ID with: 18670
[2010-05-08 18:19:03] [debug] replacing: SERVER_ROOT with: /var/lib/pki-tps
[2010-05-08 18:19:03] [debug] replacing: SERVER_NAME with: i.gultom.or.id
[2010-05-08 18:19:03] [debug] replacing: PKI_RANDOM_NUMBER with: cDtRK8DGDN3kjvIhxiah
[2010-05-08 18:19:03] [debug] replacing: SYSTEM_LIBRARIES with: /lib
[2010-05-08 18:19:03] [debug] replacing: INSTANCE_ID with: pki-tps
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_APACHE with: Apache2
[2010-05-08 18:19:03] [debug] replacing: NSS_CONF with: /etc/pki-tps/nss.conf
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_DIR with: /usr
[2010-05-08 18:19:03] [debug] replacing: OBJ_EXT with: .so
[2010-05-08 18:19:03] [debug] replacing: TPS_DIR with: /usr/share/pki/tps
[2010-05-08 18:19:03] [debug] replacing: INSTANCE_ROOT with: /var/lib
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_LIB_DIR with: /etc/httpd
[2010-05-08 18:19:03] [debug] replacing: PORT with: 7888
[2010-05-08 18:19:03] [debug] replacing: GROUPID with: pkiuser
[2010-05-08 18:19:03] [debug] replacing: SECURE_PORT with: 7889
[2010-05-08 18:19:03] [debug] replacing: TMP_DIR with: /tmp
[2010-05-08 18:19:03] [debug] replacing: SYSTEM_USER_LIBRARIES with: /usr/lib
[2010-05-08 18:19:03] [debug] replacing: REQUIRE_CFG_PL with: require "/var/lib/pki-tps/cgi-bin/sow/cfg.pl";
[2010-05-08 18:19:03] [debug] replacing: HTTPD_CONF with: /etc/pki-tps/httpd.conf
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_NSS_MODULES with:
LoadModule nss_module /etc/httpd/modules/libmodnss.so
[2010-05-08 18:19:03] [debug] replacing: FORTITUDE_AUTH_MODULES with:
LoadModule auth_basic_module /etc/httpd/modules/mod_auth_basic.so
LoadModule authn_file_module /etc/httpd/modules/mod_authn_file.so
LoadModule authz_user_module /etc/httpd/modules/mod_authz_user.so
LoadModule authz_groupfile_module /etc/httpd/modules/mod_authz_groupfile.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so
[2010-05-08 18:19:03] [debug] replacing: LIB_PREFIX with: lib
[2010-05-08 18:19:03] [debug] replacing: SECURITY_LIBRARIES with: /usr/lib/dirsec
[2010-05-08 18:19:03] [debug] Processing PKI files and symbolic links for '/var/lib/pki-tps' ...
[2010-05-08 18:19:03] [debug] Processing PKI security databases for '/var/lib/pki-tps' ...
[2010-05-08 18:19:03] [debug] Processing PKI security modules for '/var/lib/pki-tps' ...
[2010-05-08 18:19:03] [debug] Attempting to add hardware security modules to system if applicable ...
[2010-05-08 18:19:03] [debug] module name: lunasa lib: /usr/lunasa/lib/libCryptoki2.so DOES NOT EXIST!
[2010-05-08 18:19:03] [debug] module name: nfast lib: /opt/nfast/toolkits/pkcs11/libcknfast.so DOES NOT EXIST!
[2010-05-08 18:19:03] [debug] Restorecon file context for /usr/share/pki
[2010-05-08 18:19:03] [debug] Restorecon file context for /var/lib/pki-tps
[2010-05-08 18:19:03] [debug] Setting selinux file context for "/var/log/pki-tps(/.*)?"
libsepol.context_from_record: type pki_tps_log_t is not defined
libsepol.context_from_record: could not create context structure
-----------skip------------------------------
[2010-05-08 18:19:17] [debug] Restorecon /etc/pki-tps
[2010-05-08 18:19:17] [debug] Restorecon file context for /usr/sbin/httpd.worker
[2010-05-08 18:19:17] [debug] Setting selinux context pki_tps_port_t for 7890
PKI instance creation completed ...
Stopping pki-tps:
process already stopped
==========================================================
Starting pki-tps: . [ OK ]
pki-tps (pid 18818) is running …
‘pki-tps’ must still be CONFIGURED!
(see /var/log/pki-tps-install.log)
Before proceeding with the configuration, make sure
the firewall settings of this machine permit proper
access to this subsystem.
Please start the configuration by accessing:
https://i.xxxxom.or.id:7890/tps/admin/console/config/login?pin=cDtRK8DGDN3kjvIhxiah
After configuration, the server can be operated by the command:
/sbin/service pki-tpsd restart pki-tps
[root@i etc]#

[root@i etc]# /sbin/service pki-tpsd restart pki-tps
Stopping pki-tps: .......... [ OK ]
========================================================
Starting pki-tps: . [ OK ]
pki-tps (pid 21265) is running …
Unsecure Port = http://i.xxxxom.or.id:7888/cgi-bin/so/enroll.cgi
(ESC Security Officer Enrollment)
Unsecure Port = http://i.xxxxom.or.id:7888/cgi-bin/home/index.cgi
(ESC Phone Home)
Secure Clientauth Port = https://i.xxxxom.or.id:7889/cgi-bin/sow/welcome.cgi
(ESC Security Officer Workstation)
Secure Clientauth Port = https://i.xxxxom.or.id:7889/tus
(TPS Roles – Operator/Administrator/Agent)
Secure Non-Clientauth Port = https://i.xxxxom.or.id:7890/cgi-bin/so/enroll.cgi
(ESC Security Officer Enrollment)
Secure Non-Clientauth Port = https://i.xxxxom.or.id:7890/cgi-bin/home/index.cgi
(ESC Phone Home)
PKI Instance Name: pki-tps
PKI Subsystem Type: TPS
Registered PKI Security Domain Information:
==============================================
Name: GultomOr Domain
URL: https://i.xxxxom.or.id:9445
============================================
[root@i etc]#

LISTING SEMUA PORT DOGTAG :

[root@i etc]# netstat -nltup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9830 0.0.0.0:* LISTEN 3067/httpd.worker
tcp 0 0 0.0.0.0:909 0.0.0.0:* LISTEN 1575/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1539/portmap
tcp 0 0 :::13443 :::* LISTEN 15512/java
tcp 0 0 :::9443 :::* LISTEN 6404/java
tcp 0 0 :::13444 :::* LISTEN 15512/java
tcp 0 0 :::10180 :::* LISTEN 11937/java
tcp 0 0 :::9444 :::* LISTEN 6404/java
tcp 0 0 ::ffff:127.0.0.1:13701 :::* LISTEN 15512/java
tcp 0 0 :::13445 :::* LISTEN 15512/java
tcp 0 0 ::ffff:127.0.0.1:9701 :::* LISTEN 6404/java
tcp 0 0 :::9445 :::* LISTEN 6404/java
tcp 0 0 :::389 :::* LISTEN 2970/ns-slapd
tcp 0 0 :::9446 :::* LISTEN 6404/java
tcp 0 0 :::9543 :::* LISTEN 9933/java
tcp 0 0 :::9544 :::* LISTEN 9933/java
tcp 0 0 ::ffff:127.0.0.1:9801 :::* LISTEN 9933/java
tcp 0 0 :::9545 :::* LISTEN 9933/java
tcp 0 0 :::9546 :::* LISTEN 9933/java
tcp 0 0 :::10443 :::* LISTEN 11937/java
tcp 0 0 :::11180 :::* LISTEN 13741/java
tcp 0 0 :::10444 :::* LISTEN 11937/java
tcp 0 0 :::9580 :::* LISTEN 9933/java
tcp 0 0 ::ffff:127.0.0.1:10701 :::* LISTEN 11937/java
tcp 0 0 :::10445 :::* LISTEN 11937/java
tcp 0 0 :::7888 :::* LISTEN 21265/httpd.worker
tcp 0 0 :::7889 :::* LISTEN 21265/httpd.worker
tcp 0 0 :::7890 :::* LISTEN 21265/httpd.worker
tcp 0 0 :::11443 :::* LISTEN 13741/java
tcp 0 0 :::11444 :::* LISTEN 13741/java
tcp 0 0 ::ffff:127.0.0.1:11701 :::* LISTEN 13741/java
tcp 0 0 :::11445 :::* LISTEN 13741/java
tcp 0 0 :::22 :::* LISTEN 1840/sshd
tcp 0 0 :::12888 :::* LISTEN 17771/httpd.worker
tcp 0 0 :::12889 :::* LISTEN 17771/httpd.worker
tcp 0 0 :::12890 :::* LISTEN 17771/httpd.worker
tcp 0 0 :::13180 :::* LISTEN 15512/java
tcp 0 0 :::9180 :::* LISTEN 6404/java
udp 0 0 0.0.0.0:903 0.0.0.0:* 1575/rpc.statd
udp 0 0 0.0.0.0:906 0.0.0.0:* 1575/rpc.statd
udp 0 0 0.0.0.0:36701 0.0.0.0:* 1920/avahi-daemon:
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1920/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 1539/portmap
udp 0 0 :::59845 :::* 1920/avahi-daemon:
udp 0 0 :::5353 :::* 1920/avahi-daemon:
[root@i etc]#

Selesai, tinggal mengatur konfigurasi lebih mendalam melalui pkiconsole dan web interface baik untuk user,agent,admin.  Pada pembahasan lain akan saya buat integrasi menggunakan smart card yang dihubungkan dengan Enterprise Security Client dan Dog Tag.

Red Hat Certificate System Documentation

https://www.redhat.com/docs/manuals/cert-system/

Comments (1)

Halo Kedan,

Wheyyy dah mulai aktif nulis lagi nih. Munatab nih artikel, cuma rada pusing/lieur ngebacanya, hehehe.

salam,
KK

Write a comment