PKI 10 Development

From Dogtag
Revision as of 16:42, 18 March 2015 by Nkinder (talk | contribs) (Source Code)

Jump to: navigation, search


This page describes the process to build Dogtag 10. Some of the commands may require root or sudo access.

Operating System

Make sure you have the correct Fedora version for the Dogtag version you want to build:

  • Dogtag 10.0 will only work on Fedora 18 and 19. It does not work on Fedora 20 or later.
  • Dogtag 10.1 or later will only work on Fedora 20 or later.

Source Code

$ yum install git rpm-build make gcc gcc-c++
$ git clone git://
$ cd pki

Checkout the right branch for the operating system:

  • Dogtag 10.2: master
  • Dogtag 10.1: DOGTAG_10_1_BRANCH
  • Dogtag 10.0: DOGTAG_10_0_BRANCH
$ git branch -r
$ git checkout <branch>


We use the yum-builddep command for this, which is provided by the yum-utils package.

$ yum-builddep ./specs/pki-core.spec


$ cd scripts/
$ ./compose_pki_core_packages rpms

RPMS will be built and placed under ../../packages/RPMS. You can install them by doing :

$ yum localinstall ../../packages/RPMS/noarch/* ../../packages/RPMS/x86_64/*