5fef75
################################################################################
5fef75
Name:             pki-core
5fef75
################################################################################
5fef75
d8bc5c
%global           vendor_id redhat
5fef75
%global           brand Red Hat
5fef75
d8bc5c
Summary:          %{brand} PKI Core Package
395bae
URL:              https://www.dogtagpki.org
5fef75
# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2
5fef75
License:          GPLv2 and LGPLv2
5fef75
395bae
# For development (i.e. unsupported) releases, use x.y.z-0.n.<phase>.
395bae
# For official (i.e. supported) releases, use x.y.z-r where r >=1.
914827
Version:          10.12.0
8b8fbc
Release:          2%{?_timestamp}%{?_commit_id}%{?dist}
8b8fbc
#global           _phase -alpha1
5fef75
914827
5fef75
# To create a tarball from a version tag:
5fef75
# $ git archive \
5fef75
#     --format=tar.gz \
5fef75
#     --prefix pki-<version>/ \
5fef75
#     -o pki-<version>.tar.gz \
5fef75
#     <version tag>
5fef75
Source: https://github.com/dogtagpki/pki/archive/v%{version}%{?_phase}/pki-%{version}%{?_phase}.tar.gz
5fef75
5fef75
# To create a patch for all changes since a version tag:
5fef75
# $ git format-patch \
5fef75
#     --stdout \
5fef75
#     <version tag> \
5fef75
#     > pki-VERSION-RELEASE.patch
5fef75
# Patch: pki-VERSION-RELEASE.patch
914827
914827
Patch: 0001-Fix-pki-healthcheck-for-clones.patch
8b8fbc
8b8fbc
# md2man isn't available on i686. Additionally, we aren't generally multi-lib
8b8fbc
# compatible (https://fedoraproject.org/wiki/Packaging:Java)
8b8fbc
# so dropping i686 everywhere but RHEL-8 (which we've already shipped) seems
8b8fbc
# safest.
8b8fbc
%if ! 0%{?rhel} || 0%{?rhel} > 8
8b8fbc
ExcludeArch: i686
8b8fbc
%endif
5fef75
5fef75
################################################################################
5fef75
# NSS
5fef75
################################################################################
5fef75
5fef75
%global nss_default_db_type sql
5fef75
5fef75
################################################################################
5fef75
# Python
5fef75
################################################################################
5fef75
8b8fbc
%if 0%{?rhel} && 0%{?rhel} <= 8
1fd96a
%global python_executable /usr/libexec/platform-python
5fef75
%else
1fd96a
%global python_executable /usr/bin/python3
5fef75
%endif
5fef75
5fef75
################################################################################
5fef75
# Java
5fef75
################################################################################
5fef75
8b8fbc
%if 0%{?fedora} && 0%{?fedora} <= 32 || 0%{?rhel} && 0%{?rhel} <= 8
8b8fbc
%define java_devel java-1.8.0-openjdk-devel
8b8fbc
%define java_headless java-1.8.0-openjdk-headless
8b8fbc
%define java_home /usr/lib/jvm/jre-1.8.0-openjdk
395bae
%else
8b8fbc
%define java_devel java-11-openjdk-devel
8b8fbc
%define java_headless java-11-openjdk-headless
8b8fbc
%define java_home /usr/lib/jvm/jre-11-openjdk
395bae
%endif
5fef75
5fef75
################################################################################
5fef75
# RESTEasy
5fef75
################################################################################
5fef75
5fef75
%define jaxrs_api_jar /usr/share/java/jboss-jaxrs-2.0-api.jar
5fef75
%define resteasy_lib /usr/share/java/resteasy
5fef75
5fef75
################################################################################
5fef75
# PKI
5fef75
################################################################################
5fef75
5fef75
# By default the build will execute unit tests unless --without test
5fef75
# option is specified.
5fef75
8b8fbc
%bcond_without test
5fef75
5fef75
# By default all packages will be built except the ones specified with
5fef75
# --without <package> option (exclusion method).
5fef75
5fef75
# If --with pkgs option is specified, only packages specified with
5fef75
# --with <package> will be built (inclusion method).
5fef75
5fef75
# bcond_with pkgs
5fef75
%global with_pkgs 1
5fef75
5fef75
# Define package_option macro to wrap bcond_with or bcond_without macro
5fef75
# depending on package selection method.
5fef75
5fef75
%if %{with pkgs}
5fef75
%define package_option() %bcond_with %1
5fef75
%else
5fef75
%define package_option() %bcond_without %1
1fd96a
%endif
5fef75
5fef75
# Define --with <package> or --without <package> options depending on
5fef75
# package selection method.
5fef75
5fef75
# package_option base
5fef75
%global with_base 1
5fef75
# package_option server
5fef75
%global with_server 1
395bae
# package_option acme
395bae
%global with_acme 1
5fef75
# package_option ca
5fef75
%global with_ca 1
5fef75
# package_option kra
5fef75
%global with_kra 1
5fef75
# package_option ocsp
5fef75
# package_option tks
5fef75
# package_option tps
5fef75
# package_option javadoc
5fef75
# package_option console
5fef75
# package_option theme
5fef75
# package_option meta
1fd96a
# package_option tests
5fef75
# package_option debug
5fef75
%global with_debug 1
5fef75
5fef75
%if ! %{with debug}
5fef75
%define debug_package %{nil}
d8bc5c
%endif
5fef75
5fef75
# ignore unpackaged files from native 'tpsclient'
5fef75
# REMINDER:  Remove this '%%define' once 'tpsclient' is rewritten as a Java app
5fef75
%define _unpackaged_files_terminate_build 0
5fef75
d8bc5c
# The PKI UID and GID are preallocated, see:
d8bc5c
# https://bugzilla.redhat.com/show_bug.cgi?id=476316
d8bc5c
# https://bugzilla.redhat.com/show_bug.cgi?id=476782
d8bc5c
# https://pagure.io/setup/blob/master/f/uidgid
d8bc5c
# /usr/share/doc/setup/uidgid
5fef75
%define pki_username pkiuser
5fef75
%define pki_uid 17
5fef75
%define pki_groupname pkiuser
5fef75
%define pki_gid 17
5fef75
%define pki_homedir /usr/share/pki
5fef75
5fef75
%global saveFileContext() \
5fef75
if [ -s /etc/selinux/config ]; then \
5fef75
     . %{_sysconfdir}/selinux/config; \
5fef75
     FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
5fef75
     if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
5fef75
          cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.%{name}; \
5fef75
     fi \
5fef75
fi;
5fef75
5fef75
%global relabel() \
5fef75
. %{_sysconfdir}/selinux/config; \
5fef75
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
5fef75
selinuxenabled; \
5fef75
if [ $? == 0  -a "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT}.%{name} ]; then \
5fef75
     fixfiles -C ${FILE_CONTEXT}.%{name} restore; \
5fef75
     rm -f ${FILE_CONTEXT}.%name; \
5fef75
fi;
5fef75
5fef75
################################################################################
5fef75
# Build Dependencies
5fef75
################################################################################
5fef75
5fef75
BuildRequires:    make
1fd96a
BuildRequires:    cmake >= 3.0.2
5fef75
BuildRequires:    gcc-c++
5fef75
BuildRequires:    zip
8b8fbc
BuildRequires:    %{java_devel}
395bae
BuildRequires:    javapackages-tools
5fef75
BuildRequires:    redhat-rpm-config
8b8fbc
BuildRequires:    ldapjdk >= 4.23.0, ldapjdk < 5.0.0
5fef75
BuildRequires:    apache-commons-cli
5fef75
BuildRequires:    apache-commons-codec
5fef75
BuildRequires:    apache-commons-io
395bae
BuildRequires:    apache-commons-lang3 >= 3.2
8b8fbc
BuildRequires:    apache-commons-logging
1fd96a
BuildRequires:    apache-commons-net
5fef75
BuildRequires:    glassfish-jaxb-api
5fef75
BuildRequires:    slf4j
5fef75
BuildRequires:    slf4j-jdk14
5fef75
BuildRequires:    nspr-devel
5fef75
BuildRequires:    nss-devel >= 3.36.1
5fef75
5fef75
BuildRequires:    openldap-devel
5fef75
BuildRequires:    pkgconfig
5fef75
BuildRequires:    policycoreutils
5fef75
5fef75
BuildRequires:    python3-lxml
5fef75
BuildRequires:    python3-sphinx
5fef75
5fef75
BuildRequires:    xalan-j2
5fef75
BuildRequires:    xerces-j2
5fef75
5fef75
BuildRequires:    resteasy >= 3.0.26
5fef75
1fd96a
BuildRequires:    python3 >= 3.5
5fef75
BuildRequires:    python3-devel
1fd96a
BuildRequires:    python3-setuptools
5fef75
BuildRequires:    python3-cryptography
5fef75
BuildRequires:    python3-lxml
5fef75
BuildRequires:    python3-ldap
5fef75
BuildRequires:    python3-libselinux
5fef75
BuildRequires:    python3-requests >= 2.6.0
5fef75
BuildRequires:    python3-six
d8bc5c
5fef75
BuildRequires:    junit
5fef75
BuildRequires:    jpackage-utils >= 0:1.7.5-10
8b8fbc
BuildRequires:    jss >= 4.9.0, jss < 5.0.0
8b8fbc
BuildRequires:    tomcatjss >= 7.7.0, tomcatjss < 8.0.0
395bae
5fef75
BuildRequires:    systemd-units
5fef75
8b8fbc
%if 0%{?rhel} && ! 0%{?eln}
5fef75
BuildRequires:    pki-servlet-engine
5fef75
%else
5fef75
BuildRequires:    tomcat >= 1:9.0.7
5fef75
%endif
5fef75
5fef75
# additional build requirements needed to build native 'tpsclient'
5fef75
# REMINDER:  Revisit these once 'tpsclient' is rewritten as a Java app
5fef75
BuildRequires:    apr-devel
5fef75
BuildRequires:    apr-util-devel
5fef75
BuildRequires:    cyrus-sasl-devel
5fef75
BuildRequires:    httpd-devel >= 2.4.2
5fef75
BuildRequires:    pcre-devel
5fef75
BuildRequires:    systemd
5fef75
BuildRequires:    zlib
5fef75
BuildRequires:    zlib-devel
5fef75
5fef75
# build dependency to build man pages
8b8fbc
%if 0%{?fedora} && 0%{?fedora} <= 30 || 0%{?rhel} && 0%{?rhel} <= 8
5fef75
BuildRequires:    go-md2man
d8bc5c
%else
d8bc5c
BuildRequires:    golang-github-cpuguy83-md2man
d8bc5c
%endif
5fef75
1fd96a
# pki-healthcheck depends on the following library
1fd96a
%if 0%{?rhel}
1fd96a
BuildRequires:    ipa-healthcheck-core
1fd96a
%else
1fd96a
BuildRequires:    freeipa-healthcheck-core
1fd96a
%endif
1fd96a
5fef75
# PKICertImport depends on certutil and openssl
5fef75
BuildRequires:    nss-tools
5fef75
BuildRequires:    openssl
5fef75
5fef75
# description for top-level package (if there is a separate meta package)
d8bc5c
%if "%{name}" != "%{vendor_id}-pki"
5fef75
%description
5fef75
5fef75
%{brand} PKI is an enterprise software system designed
5fef75
to manage enterprise Public Key Infrastructure deployments.
5fef75
5fef75
PKI consists of the following components:
5fef75
395bae
  * Automatic Certificate Management Environment (ACME) Responder
5fef75
  * Certificate Authority (CA)
5fef75
  * Key Recovery Authority (KRA)
5fef75
  * Online Certificate Status Protocol (OCSP) Manager
5fef75
  * Token Key Service (TKS)
5fef75
  * Token Processing Service (TPS)
5fef75
5fef75
%endif
5fef75
5fef75
%if %{with meta}
d8bc5c
%if "%{name}" != "%{vendor_id}-pki"
5fef75
################################################################################
d8bc5c
%package -n       %{vendor_id}-pki
5fef75
################################################################################
5fef75
5fef75
Summary:          %{brand} PKI Package
5fef75
%endif
5fef75
5fef75
# Make certain that this 'meta' package requires the latest version(s)
5fef75
# of ALL PKI theme packages
8b8fbc
Requires:         %{vendor_id}-pki-server-theme = %{version}-%{release}
8b8fbc
Requires:         %{vendor_id}-pki-console-theme = %{version}-%{release}
5fef75
5fef75
# Make certain that this 'meta' package requires the latest version(s)
5fef75
# of ALL PKI core packages
8b8fbc
Requires:         pki-acme = %{version}-%{release}
8b8fbc
Requires:         pki-ca = %{version}-%{release}
8b8fbc
Requires:         pki-kra = %{version}-%{release}
8b8fbc
Requires:         pki-ocsp = %{version}-%{release}
8b8fbc
Requires:         pki-tks = %{version}-%{release}
8b8fbc
Requires:         pki-tps = %{version}-%{release}
5fef75
5fef75
# Make certain that this 'meta' package requires the latest version(s)
5fef75
# of PKI console
8b8fbc
Requires:         pki-console = %{version}-%{release}
8b8fbc
Requires:         pki-javadoc = %{version}-%{release}
5fef75
5fef75
# Make certain that this 'meta' package requires the latest version(s)
8b8fbc
# of ALL PKI clients -- except for s390/s390x where 'esc' is not built
8b8fbc
%ifnarch s390 s390x
5fef75
Requires:         esc >= 1.1.1
8b8fbc
%endif
5fef75
5fef75
# description for top-level package (unless there is a separate meta package)
d8bc5c
%if "%{name}" == "%{vendor_id}-pki"
5fef75
%description
5fef75
%else
d8bc5c
%description -n   %{vendor_id}-pki
5fef75
%endif
5fef75
5fef75
%{brand} PKI is an enterprise software system designed
5fef75
to manage enterprise Public Key Infrastructure deployments.
5fef75
5fef75
PKI consists of the following components:
5fef75
395bae
  * Automatic Certificate Management Environment (ACME) Responder
5fef75
  * Certificate Authority (CA)
5fef75
  * Key Recovery Authority (KRA)
5fef75
  * Online Certificate Status Protocol (OCSP) Manager
5fef75
  * Token Key Service (TKS)
5fef75
  * Token Processing Service (TPS)
5fef75
d8bc5c
# with meta
d8bc5c
%endif
5fef75
5fef75
%if %{with base}
5fef75
################################################################################
5fef75
%package -n       pki-symkey
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Symmetric Key Package
5fef75
8b8fbc
Requires:         %{java_headless}
5fef75
Requires:         jpackage-utils >= 0:1.7.5-10
8b8fbc
Requires:         jss >= 4.9.0, jss < 5.0.0
5fef75
Requires:         nss >= 3.38.0
5fef75
5fef75
# Ensure we end up with a useful installation
5fef75
Conflicts:        pki-symkey < %{version}
5fef75
Conflicts:        pki-javadoc < %{version}
5fef75
Conflicts:        pki-server-theme < %{version}
5fef75
Conflicts:        pki-console-theme < %{version}
5fef75
5fef75
%description -n   pki-symkey
5fef75
The PKI Symmetric Key Java Package supplies various native
5fef75
symmetric key operations to Java programs.
5fef75
5fef75
################################################################################
5fef75
%package -n       pki-base
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Base Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-base < %{version}-%{release}
914827
Provides:         pki-base = %{version}-%{release}
914827
5fef75
Requires:         nss >= 3.36.1
d8bc5c
1fd96a
Requires:         python3-pki = %{version}-%{release}
1fd96a
Requires(post):   python3-pki = %{version}-%{release}
5fef75
5fef75
# Ensure we end up with a useful installation
5fef75
Conflicts:        pki-symkey < %{version}
5fef75
Conflicts:        pki-javadoc < %{version}
5fef75
Conflicts:        pki-server-theme < %{version}
5fef75
Conflicts:        pki-console-theme < %{version}
5fef75
5fef75
%description -n   pki-base
5fef75
The PKI Base Package contains the common and client libraries and utilities
5fef75
written in Python.
5fef75
5fef75
################################################################################
5fef75
%package -n       python3-pki
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Python 3 Package
5fef75
BuildArch:        noarch
5fef75
5fef75
Obsoletes:        pki-base-python3 < %{version}
8b8fbc
Provides:         pki-base-python3 = %{version}-%{release}
914827
8b8fbc
%if 0%{?fedora} || 0%{?rhel} > 8
5fef75
%{?python_provide:%python_provide python3-pki}
5fef75
%endif
5fef75
1fd96a
Requires:         pki-base = %{version}-%{release}
1fd96a
Requires:         python3 >= 3.5
5fef75
Requires:         python3-cryptography
395bae
Requires:         python3-ldap
5fef75
Requires:         python3-lxml
5fef75
Requires:         python3-requests >= 2.6.0
5fef75
Requires:         python3-six
8b8fbc
%if 0%{?rhel} < 9 || 0%{?fedora} < 34
8b8fbc
Recommends:       python3-nss
8b8fbc
%endif
5fef75
5fef75
%description -n   python3-pki
5fef75
This package contains PKI client library for Python 3.
5fef75
5fef75
################################################################################
5fef75
%package -n       pki-base-java
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Base Java Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-base-java < %{version}-%{release}
914827
Provides:         pki-base-java = %{version}-%{release}
914827
8b8fbc
Requires:         %{java_headless}
5fef75
Requires:         apache-commons-cli
5fef75
Requires:         apache-commons-codec
5fef75
Requires:         apache-commons-io
395bae
Requires:         apache-commons-lang3 >= 3.2
5fef75
Requires:         apache-commons-logging
1fd96a
Requires:         apache-commons-net
5fef75
Requires:         glassfish-jaxb-api
5fef75
Requires:         slf4j
5fef75
Requires:         slf4j-jdk14
5fef75
Requires:         jpackage-utils >= 0:1.7.5-10
8b8fbc
Requires:         jss >= 4.9.0, jss < 5.0.0
8b8fbc
Requires:         ldapjdk >= 4.23.0, ldapjdk < 5.0.0
1fd96a
Requires:         pki-base = %{version}-%{release}
5fef75
8b8fbc
%if 0%{?rhel} && 0%{?rhel} <= 8
5fef75
Requires:         resteasy >= 3.0.26
5fef75
%else
5fef75
Requires:         resteasy-client >= 3.0.17-1
5fef75
Requires:         resteasy-jaxb-provider >= 3.0.17-1
5fef75
Requires:         resteasy-core >= 3.0.17-1
5fef75
Requires:         resteasy-jackson2-provider >= 3.0.17-1
5fef75
%endif
5fef75
8b8fbc
%if 0%{?fedora} >= 33 || 0%{?rhel} > 8
395bae
Requires:         jaxb-impl >= 2.3.3
395bae
Requires:         jakarta-activation >= 1.2.2
395bae
%endif
395bae
5fef75
Requires:         xalan-j2
5fef75
Requires:         xerces-j2
5fef75
Requires:         xml-commons-apis
5fef75
Requires:         xml-commons-resolver
5fef75
5fef75
%description -n   pki-base-java
5fef75
The PKI Base Java Package contains the common and client libraries and utilities
5fef75
written in Java.
5fef75
5fef75
################################################################################
5fef75
%package -n       pki-tools
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Tools Package
5fef75
5fef75
Requires:         openldap-clients
5fef75
Requires:         nss-tools >= 3.36.1
1fd96a
Requires:         pki-base-java = %{version}-%{release}
d8bc5c
Requires:         p11-kit-trust
5fef75
5fef75
# PKICertImport depends on certutil and openssl
5fef75
Requires:         nss-tools
5fef75
Requires:         openssl
5fef75
5fef75
%description -n   pki-tools
5fef75
This package contains PKI executables that can be used to help make
5fef75
Certificate System into a more complete and robust PKI solution.
5fef75
d8bc5c
# with base
d8bc5c
%endif
5fef75
5fef75
%if %{with server}
5fef75
################################################################################
5fef75
%package -n       pki-server
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Server Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-server < %{version}-%{release}
914827
Provides:         pki-server = %{version}-%{release}
914827
5fef75
Requires:         hostname
5fef75
5fef75
Requires:         policycoreutils
5fef75
Requires:         procps-ng
5fef75
Requires:         openldap-clients
5fef75
Requires:         openssl
1fd96a
Requires:         pki-symkey = %{version}-%{release}
1fd96a
Requires:         pki-tools = %{version}-%{release}
5fef75
5fef75
Requires:         keyutils
5fef75
5fef75
Requires:         policycoreutils-python-utils
5fef75
5fef75
Requires:         python3-lxml
5fef75
Requires:         python3-libselinux
5fef75
Requires:         python3-policycoreutils
5fef75
5fef75
Requires:         selinux-policy-targeted >= 3.13.1-159
5fef75
8b8fbc
%if 0%{?rhel} && ! 0%{?eln}
8b8fbc
Requires:         pki-servlet-engine
5fef75
%else
5fef75
Requires:         tomcat >= 1:9.0.7
5fef75
%endif
5fef75
395bae
Requires:         sudo
395bae
Requires:         systemd
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
Requires(pre):    shadow-utils
8b8fbc
Requires:         tomcatjss >= 7.7.0, tomcatjss < 8.0.0
1fd96a
1fd96a
# pki-healthcheck depends on the following library
1fd96a
%if 0%{?rhel}
1fd96a
Requires:         ipa-healthcheck-core
5fef75
%else
1fd96a
Requires:         freeipa-healthcheck-core
5fef75
%endif
5fef75
5fef75
# https://pagure.io/freeipa/issue/7742
5fef75
%if 0%{?rhel}
5fef75
Conflicts:        ipa-server < 4.7.1
5fef75
%else
5fef75
Conflicts:        freeipa-server < 4.7.1
5fef75
%endif
5fef75
1fd96a
Provides:         bundled(js-backbone) = 1.4.0
1fd96a
Provides:         bundled(js-bootstrap) = 3.4.1
1fd96a
Provides:         bundled(js-jquery) = 3.5.1
1fd96a
Provides:         bundled(js-jquery-i18n-properties) = 1.2.7
1fd96a
Provides:         bundled(js-patternfly) = 3.59.2
1fd96a
Provides:         bundled(js-underscore) = 1.9.2
1fd96a
5fef75
%description -n   pki-server
395bae
The PKI Server Package contains libraries and utilities needed by other
395bae
PKI subsystems.
5fef75
d8bc5c
# with server
d8bc5c
%endif
5fef75
395bae
%if %{with acme}
395bae
################################################################################
395bae
%package -n       pki-acme
395bae
################################################################################
395bae
395bae
Summary:          PKI ACME Package
395bae
BuildArch:        noarch
395bae
395bae
Requires:         pki-server = %{version}-%{release}
395bae
395bae
%description -n   pki-acme
395bae
The PKI ACME responder is a service that provides an automatic certificate
395bae
management via ACME v2 protocol defined in RFC 8555.
395bae
395bae
# with acme
395bae
%endif
395bae
5fef75
%if %{with ca}
5fef75
################################################################################
5fef75
%package -n       pki-ca
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI CA Package
5fef75
BuildArch:        noarch
5fef75
1fd96a
Requires:         pki-server = %{version}-%{release}
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
5fef75
%description -n   pki-ca
5fef75
The Certificate Authority (CA) is a required PKI subsystem which issues,
5fef75
renews, revokes, and publishes certificates as well as compiling and
5fef75
publishing Certificate Revocation Lists (CRLs).
5fef75
5fef75
The Certificate Authority can be configured as a self-signing Certificate
5fef75
Authority, where it is the root CA, or it can act as a subordinate CA,
5fef75
where it obtains its own signing certificate from a public CA.
5fef75
d8bc5c
# with ca
d8bc5c
%endif
5fef75
5fef75
%if %{with kra}
5fef75
################################################################################
5fef75
%package -n       pki-kra
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI KRA Package
5fef75
BuildArch:        noarch
5fef75
1fd96a
Requires:         pki-server = %{version}-%{release}
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
5fef75
%description -n   pki-kra
5fef75
The Key Recovery Authority (KRA) is an optional PKI subsystem that can act
5fef75
as a key archival facility.  When configured in conjunction with the
5fef75
Certificate Authority (CA), the KRA stores private encryption keys as part of
5fef75
the certificate enrollment process.  The key archival mechanism is triggered
5fef75
when a user enrolls in the PKI and creates the certificate request.  Using the
5fef75
Certificate Request Message Format (CRMF) request format, a request is
5fef75
generated for the user's private encryption key.  This key is then stored in
5fef75
the KRA which is configured to store keys in an encrypted format that can only
5fef75
be decrypted by several agents requesting the key at one time, providing for
5fef75
protection of the public encryption keys for the users in the PKI deployment.
5fef75
5fef75
Note that the KRA archives encryption keys; it does NOT archive signing keys,
5fef75
since such archival would undermine non-repudiation properties of signing keys.
5fef75
d8bc5c
# with kra
d8bc5c
%endif
5fef75
5fef75
%if %{with ocsp}
5fef75
################################################################################
5fef75
%package -n       pki-ocsp
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI OCSP Package
5fef75
BuildArch:        noarch
5fef75
8b8fbc
Requires:         pki-server = %{version}-%{release}
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
5fef75
%description -n   pki-ocsp
5fef75
The Online Certificate Status Protocol (OCSP) Manager is an optional PKI
5fef75
subsystem that can act as a stand-alone OCSP service.  The OCSP Manager
5fef75
performs the task of an online certificate validation authority by enabling
5fef75
OCSP-compliant clients to do real-time verification of certificates.  Note
5fef75
that an online certificate-validation authority is often referred to as an
5fef75
OCSP Responder.
5fef75
5fef75
Although the Certificate Authority (CA) is already configured with an
5fef75
internal OCSP service.  An external OCSP Responder is offered as a separate
5fef75
subsystem in case the user wants the OCSP service provided outside of a
5fef75
firewall while the CA resides inside of a firewall, or to take the load of
5fef75
requests off of the CA.
5fef75
5fef75
The OCSP Manager can receive Certificate Revocation Lists (CRLs) from
5fef75
multiple CA servers, and clients can query the OCSP Manager for the
5fef75
revocation status of certificates issued by all of these CA servers.
5fef75
5fef75
When an instance of OCSP Manager is set up with an instance of CA, and
5fef75
publishing is set up to this OCSP Manager, CRLs are published to it
5fef75
whenever they are issued or updated.
5fef75
d8bc5c
# with ocsp
d8bc5c
%endif
5fef75
5fef75
%if %{with tks}
5fef75
################################################################################
5fef75
%package -n       pki-tks
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI TKS Package
5fef75
BuildArch:        noarch
5fef75
8b8fbc
Requires:         pki-server = %{version}-%{release}
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
5fef75
%description -n   pki-tks
5fef75
The Token Key Service (TKS) is an optional PKI subsystem that manages the
5fef75
master key(s) and the transport key(s) required to generate and distribute
5fef75
keys for hardware tokens.  TKS provides the security between tokens and an
5fef75
instance of Token Processing System (TPS), where the security relies upon the
5fef75
relationship between the master key and the token keys.  A TPS communicates
5fef75
with a TKS over SSL using client authentication.
5fef75
5fef75
TKS helps establish a secure channel (signed and encrypted) between the token
5fef75
and the TPS, provides proof of presence of the security token during
5fef75
enrollment, and supports key changeover when the master key changes on the
5fef75
TKS.  Tokens with older keys will get new token keys.
5fef75
5fef75
Because of the sensitivity of the data that TKS manages, TKS should be set up
5fef75
behind the firewall with restricted access.
5fef75
d8bc5c
# with tks
d8bc5c
%endif
5fef75
5fef75
%if %{with tps}
5fef75
################################################################################
5fef75
%package -n       pki-tps
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI TPS Package
5fef75
8b8fbc
Requires:         pki-server = %{version}-%{release}
5fef75
Requires(post):   systemd-units
5fef75
Requires(preun):  systemd-units
5fef75
Requires(postun): systemd-units
5fef75
5fef75
# additional runtime requirements needed to run native 'tpsclient'
5fef75
# REMINDER:  Revisit these once 'tpsclient' is rewritten as a Java app
5fef75
5fef75
Requires:         nss-tools >= 3.36.1
5fef75
Requires:         openldap-clients
5fef75
5fef75
%description -n   pki-tps
5fef75
The Token Processing System (TPS) is an optional PKI subsystem that acts
5fef75
as a Registration Authority (RA) for authenticating and processing
5fef75
enrollment requests, PIN reset requests, and formatting requests from
5fef75
the Enterprise Security Client (ESC).
5fef75
5fef75
TPS is designed to communicate with tokens that conform to
5fef75
Global Platform's Open Platform Specification.
5fef75
5fef75
TPS communicates over SSL with various PKI backend subsystems (including
5fef75
the Certificate Authority (CA), the Key Recovery Authority (KRA), and the
5fef75
Token Key Service (TKS)) to fulfill the user's requests.
5fef75
5fef75
TPS also interacts with the token database, an LDAP server that stores
5fef75
information about individual tokens.
5fef75
5fef75
The utility "tpsclient" is a test tool that interacts with TPS.  This
5fef75
tool is useful to test TPS server configs without risking an actual
5fef75
smart card.
5fef75
d8bc5c
# with tps
d8bc5c
%endif
5fef75
5fef75
%if %{with javadoc}
5fef75
################################################################################
5fef75
%package -n       pki-javadoc
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Javadoc Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-javadoc < %{version}-%{release}
914827
Provides:         pki-javadoc = %{version}-%{release}
914827
5fef75
# Ensure we end up with a useful installation
5fef75
Conflicts:        pki-base < %{version}
5fef75
Conflicts:        pki-symkey < %{version}
5fef75
Conflicts:        pki-server-theme < %{version}
5fef75
Conflicts:        pki-console-theme < %{version}
5fef75
5fef75
%description -n   pki-javadoc
5fef75
This package contains PKI API documentation.
5fef75
d8bc5c
# with javadoc
d8bc5c
%endif
5fef75
5fef75
%if %{with console}
5fef75
################################################################################
5fef75
%package -n       pki-console
5fef75
################################################################################
5fef75
5fef75
Summary:          PKI Console Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-console < %{version}-%{release}
914827
Provides:         pki-console = %{version}-%{release}
914827
5fef75
BuildRequires:    idm-console-framework >= 1.2.0
5fef75
5fef75
Requires:         idm-console-framework >= 1.2.0
8b8fbc
Requires:         pki-base-java = %{version}-%{release}
8b8fbc
Requires:         pki-console-theme = %{version}-%{release}
5fef75
5fef75
%description -n   pki-console
5fef75
The PKI Console is a Java application used to administer PKI server.
5fef75
d8bc5c
# with console
d8bc5c
%endif
5fef75
5fef75
%if %{with theme}
5fef75
################################################################################
d8bc5c
%package -n       %{vendor_id}-pki-server-theme
5fef75
################################################################################
5fef75
5fef75
Summary:          %{brand} PKI Server Theme Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-server-theme < %{version}-%{release}
8b8fbc
Provides:         pki-server-theme = %{version}-%{release}
5fef75
5fef75
# Ensure we end up with a useful installation
5fef75
Conflicts:        pki-base < %{version}
5fef75
Conflicts:        pki-symkey < %{version}
5fef75
Conflicts:        pki-console-theme < %{version}
5fef75
Conflicts:        pki-javadoc < %{version}
5fef75
d8bc5c
%description -n   %{vendor_id}-pki-server-theme
5fef75
This PKI Server Theme Package contains
5fef75
%{brand} textual and graphical user interface for PKI Server.
5fef75
5fef75
################################################################################
d8bc5c
%package -n       %{vendor_id}-pki-console-theme
5fef75
################################################################################
5fef75
5fef75
Summary:          %{brand} PKI Console Theme Package
5fef75
BuildArch:        noarch
5fef75
914827
Obsoletes:        pki-console-theme < %{version}-%{release}
8b8fbc
Provides:         pki-console-theme = %{version}-%{release}
5fef75
5fef75
# Ensure we end up with a useful installation
5fef75
Conflicts:        pki-base < %{version}
5fef75
Conflicts:        pki-symkey < %{version}
5fef75
Conflicts:        pki-server-theme < %{version}
5fef75
Conflicts:        pki-javadoc < %{version}
5fef75
d8bc5c
%description -n   %{vendor_id}-pki-console-theme
5fef75
This PKI Console Theme Package contains
5fef75
%{brand} textual and graphical user interface for PKI Console.
5fef75
d8bc5c
# with theme
d8bc5c
%endif
5fef75
1fd96a
%if %{with tests}
1fd96a
################################################################################
1fd96a
%package -n       pki-tests
1fd96a
################################################################################
1fd96a
1fd96a
Summary:          PKI Tests
1fd96a
BuildArch:        noarch
1fd96a
1fd96a
%description -n   pki-tests
1fd96a
This package contains PKI test suite.
1fd96a
1fd96a
# with tests
1fd96a
%endif
1fd96a
5fef75
################################################################################
5fef75
%prep
5fef75
################################################################################
5fef75
8b8fbc
%autosetup -n pki-%{version}%{?_phase} -p 1
5fef75
5fef75
################################################################################
5fef75
%build
5fef75
################################################################################
5fef75
395bae
# get Java <major>.<minor> version number
395bae
java_version=`%{java_home}/bin/java -XshowSettings:properties -version 2>&1 | sed -n 's/ *java.version *= *\([0-9]\+\.[0-9]\+\).*/\1/p'`
395bae
395bae
# if <major> == 1, get <minor> version number
395bae
# otherwise get <major> version number
395bae
java_version=`echo $java_version | sed -e 's/^1\.//' -e 's/\..*$//'`
395bae
8b8fbc
# assume tomcat app_server
8b8fbc
app_server=tomcat-9.0
5fef75
8b8fbc
%if 0%{?rhel} && 0%{?rhel} <= 8
5fef75
%{__mkdir_p} build
5fef75
cd build
395bae
%endif
395bae
5fef75
%cmake \
5fef75
    --no-warn-unused-cli \
5fef75
    -DVERSION=%{version}-%{release} \
5fef75
    -DVAR_INSTALL_DIR:PATH=/var \
d8bc5c
    -DP11_KIT_TRUST=/etc/alternatives/libnssckbi.so.%{_arch} \
395bae
    -DJAVA_VERSION=${java_version} \
8b8fbc
    -DJAVA_HOME=%{java_home} \
8b8fbc
    -DPKI_JAVA_PATH=%{java_home}/bin/java \
5fef75
    -DJAVA_LIB_INSTALL_DIR=%{_jnidir} \
5fef75
    -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} \
5fef75
    -DAPP_SERVER=$app_server \
5fef75
    -DJAXRS_API_JAR=%{jaxrs_api_jar} \
5fef75
    -DRESTEASY_LIB=%{resteasy_lib} \
5fef75
    -DNSS_DEFAULT_DB_TYPE=%{nss_default_db_type} \
5fef75
    -DBUILD_PKI_CORE:BOOL=ON \
1fd96a
    -DPYTHON_EXECUTABLE=%{python_executable} \
395bae
%if ! %{with server} && ! %{with acme} && ! %{with ca} && ! %{with kra} && ! %{with ocsp} && ! %{with tks} && ! %{with tps}
5fef75
    -DWITH_SERVER:BOOL=OFF \
5fef75
%endif
395bae
    -DWITH_CA:BOOL=%{?with_ca:ON}%{!?with_ca:OFF} \
395bae
    -DWITH_KRA:BOOL=%{?with_kra:ON}%{!?with_kra:OFF} \
395bae
    -DWITH_OCSP:BOOL=%{?with_ocsp:ON}%{!?with_ocsp:OFF} \
395bae
    -DWITH_TKS:BOOL=%{?with_tks:ON}%{!?with_tks:OFF} \
395bae
    -DWITH_TPS:BOOL=%{?with_tps:ON}%{!?with_tps:OFF} \
395bae
    -DWITH_ACME:BOOL=%{?with_acme:ON}%{!?with_acme:OFF} \
5fef75
    -DWITH_JAVADOC:BOOL=%{?with_javadoc:ON}%{!?with_javadoc:OFF} \
395bae
    -DWITH_TEST:BOOL=%{?with_test:ON}%{!?with_test:OFF} \
5fef75
    -DBUILD_PKI_CONSOLE:BOOL=%{?with_console:ON}%{!?with_console:OFF} \
d8bc5c
    -DTHEME=%{?with_theme:%{vendor_id}} \
8b8fbc
%if 0%{?rhel} && 0%{?rhel} <= 8
5fef75
    ..
395bae
%else
395bae
    -B %{_vpath_builddir}
395bae
%endif
395bae
8b8fbc
%if 0%{?fedora} || 0%{?rhel} > 8
395bae
cd %{_vpath_builddir}
395bae
%endif
5fef75
1fd96a
# Do not use _smp_mflags to preserve build order
1fd96a
%{__make} \
1fd96a
    VERBOSE=%{?_verbose} \
1fd96a
    CMAKE_NO_VERBOSE=1 \
1fd96a
    DESTDIR=%{buildroot} \
1fd96a
    INSTALL="install -p" \
1fd96a
    --no-print-directory \
1fd96a
    all
1fd96a
5fef75
################################################################################
5fef75
%install
5fef75
################################################################################
5fef75
8b8fbc
%if 0%{?rhel} && 0%{?rhel} <= 8
5fef75
cd build
395bae
%else
395bae
cd %{_vpath_builddir}
395bae
%endif
5fef75
5fef75
%{__make} \
5fef75
    VERBOSE=%{?_verbose} \
5fef75
    CMAKE_NO_VERBOSE=1 \
5fef75
    DESTDIR=%{buildroot} \
5fef75
    INSTALL="install -p" \
5fef75
    --no-print-directory \
1fd96a
    install
5fef75
8b8fbc
%if %{with test}
5fef75
ctest --output-on-failure
5fef75
%endif
5fef75
5fef75
%if %{with meta}
5fef75
%{__mkdir_p} %{buildroot}%{_datadir}/doc/pki
5fef75
5fef75
cat > %{buildroot}%{_datadir}/doc/pki/README << EOF
5fef75
This package is a "meta-package" whose dependencies pull in all of the
5fef75
packages comprising the %{brand} Public Key Infrastructure (PKI) Suite.
5fef75
EOF
d8bc5c
d8bc5c
# with meta
d8bc5c
%endif
5fef75
5fef75
# Customize client library links in /usr/share/pki/lib
1fd96a
ln -sf /usr/share/java/jboss-logging/jboss-logging.jar %{buildroot}%{_datadir}/pki/lib/jboss-logging.jar
8b8fbc
%if 0%{?fedora} && 0%{?fedora} <= 34 || 0%{?rhel} && 0%{?rhel} <= 8
1fd96a
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar %{buildroot}%{_datadir}/pki/lib/jboss-annotations-api_1.2_spec.jar
8b8fbc
%else
8b8fbc
ln -sf /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar %{buildroot}%{_datadir}/pki/lib/jakarta.annotation-api.jar
8b8fbc
%endif
5fef75
5fef75
%if %{with server}
5fef75
5fef75
# Customize server common library links in /usr/share/pki/server/common/lib
1fd96a
ln -sf %{jaxrs_api_jar} %{buildroot}%{_datadir}/pki/server/common/lib/jboss-jaxrs-2.0-api.jar
1fd96a
ln -sf /usr/share/java/jboss-logging/jboss-logging.jar %{buildroot}%{_datadir}/pki/server/common/lib/jboss-logging.jar
8b8fbc
%if 0%{?fedora} && 0%{?fedora} <= 34 || 0%{?rhel} && 0%{?rhel} <= 8
1fd96a
ln -sf /usr/share/java/jboss-annotations-1.2-api/jboss-annotations-api_1.2_spec.jar %{buildroot}%{_datadir}/pki/server/common/lib/jboss-annotations-api_1.2_spec.jar
8b8fbc
%else
8b8fbc
ln -sf /usr/share/java/jakarta-annotations/jakarta.annotation-api.jar %{buildroot}%{_datadir}/pki/server/common/lib/jakarta.annotation-api.jar
8b8fbc
%endif
5fef75
d8bc5c
# with server
d8bc5c
%endif
5fef75
5fef75
%if %{with server}
5fef75
5fef75
%pre -n pki-server
5fef75
getent group %{pki_groupname} >/dev/null || groupadd -f -g %{pki_gid} -r %{pki_groupname}
5fef75
if ! getent passwd %{pki_username} >/dev/null ; then
d8bc5c
    useradd -r -u %{pki_uid} -g %{pki_groupname} -d %{pki_homedir} -s /sbin/nologin -c "Certificate System" %{pki_username}
5fef75
fi
5fef75
exit 0
5fef75
d8bc5c
# with server
d8bc5c
%endif
5fef75
5fef75
%if %{with base}
5fef75
5fef75
%post -n pki-base
5fef75
5fef75
if [ $1 -eq 1 ]
5fef75
then
5fef75
    # On RPM installation create system upgrade tracker
5fef75
    echo "Configuration-Version: %{version}" > %{_sysconfdir}/pki/pki.version
5fef75
5fef75
else
5fef75
    # On RPM upgrade run system upgrade
1fd96a
    echo "Upgrading PKI system configuration at `/bin/date`." >> /var/log/pki/pki-upgrade-%{version}.log
1fd96a
    /sbin/pki-upgrade 2>&1 | tee -a /var/log/pki/pki-upgrade-%{version}.log
1fd96a
    echo >> /var/log/pki/pki-upgrade-%{version}.log
5fef75
fi
5fef75
5fef75
%postun -n pki-base
5fef75
5fef75
if [ $1 -eq 0 ]
5fef75
then
5fef75
    # On RPM uninstallation remove system upgrade tracker
5fef75
    rm -f %{_sysconfdir}/pki/pki.version
5fef75
fi
5fef75
d8bc5c
# with base
d8bc5c
%endif
5fef75
5fef75
%if %{with server}
5fef75
5fef75
%post -n pki-server
5fef75
## NOTE:  At this time, NO attempt has been made to update ANY PKI subsystem
5fef75
##        from EITHER 'sysVinit' OR previous 'systemd' processes to the new
5fef75
##        PKI deployment process
5fef75
8b8fbc
# CVE-2021-3551
8b8fbc
# Remove world access from existing installation logs
8b8fbc
find /var/log/pki -maxdepth 1 -type f -exec chmod o-rwx {} \;
8b8fbc
5fef75
# Reload systemd daemons on upgrade only
5fef75
if [ "$1" == "2" ]
5fef75
then
5fef75
    systemctl daemon-reload
5fef75
fi
5fef75
5fef75
## preun -n pki-server
5fef75
## NOTE:  At this time, NO attempt has been made to update ANY PKI subsystem
5fef75
##        from EITHER 'sysVinit' OR previous 'systemd' processes to the new
5fef75
##        PKI deployment process
5fef75
5fef75
5fef75
## postun -n pki-server
5fef75
## NOTE:  At this time, NO attempt has been made to update ANY PKI subsystem
5fef75
##        from EITHER 'sysVinit' OR previous 'systemd' processes to the new
5fef75
##        PKI deployment process
5fef75
d8bc5c
# with server
d8bc5c
%endif
5fef75
5fef75
%if %{with meta}
d8bc5c
%if "%{name}" != "%{vendor_id}-pki"
5fef75
################################################################################
d8bc5c
%files -n %{vendor_id}-pki
5fef75
################################################################################
5fef75
%else
5fef75
%files
5fef75
%endif
5fef75
5fef75
%doc %{_datadir}/doc/pki/README
5fef75
d8bc5c
# with meta
d8bc5c
%endif
5fef75
5fef75
%if %{with base}
5fef75
################################################################################
5fef75
%files -n pki-symkey
5fef75
################################################################################
5fef75
1fd96a
%license base/symkey/LICENSE
5fef75
%{_jnidir}/symkey.jar
5fef75
%{_libdir}/symkey/
5fef75
5fef75
################################################################################
5fef75
%files -n pki-base
5fef75
################################################################################
5fef75
1fd96a
%license base/common/LICENSE
1fd96a
%license base/common/LICENSE.LESSER
5fef75
%doc %{_datadir}/doc/pki-base/html
5fef75
%dir %{_datadir}/pki
5fef75
%{_datadir}/pki/VERSION
d8bc5c
%{_datadir}/pki/pom.xml
5fef75
%dir %{_datadir}/pki/etc
5fef75
%{_datadir}/pki/etc/pki.conf
5fef75
%{_datadir}/pki/etc/logging.properties
d8bc5c
%dir %{_datadir}/pki/lib
5fef75
%dir %{_datadir}/pki/scripts
5fef75
%{_datadir}/pki/scripts/config
5fef75
%{_datadir}/pki/upgrade/
5fef75
%{_datadir}/pki/key/templates
5fef75
%dir %{_sysconfdir}/pki
5fef75
%config(noreplace) %{_sysconfdir}/pki/pki.conf
5fef75
%dir %{_localstatedir}/log/pki
5fef75
%{_sbindir}/pki-upgrade
5fef75
%{_mandir}/man1/pki-python-client.1.gz
5fef75
%{_mandir}/man5/pki-logging.5.gz
5fef75
%{_mandir}/man8/pki-upgrade.8.gz
5fef75
5fef75
################################################################################
5fef75
%files -n pki-base-java
5fef75
################################################################################
5fef75
1fd96a
%license base/common/LICENSE
1fd96a
%license base/common/LICENSE.LESSER
5fef75
%{_datadir}/pki/examples/java/
d8bc5c
%{_datadir}/pki/lib/*.jar
5fef75
%dir %{_javadir}/pki
5fef75
%{_javadir}/pki/pki-cmsutil.jar
5fef75
%{_javadir}/pki/pki-certsrv.jar
5fef75
5fef75
################################################################################
5fef75
%files -n python3-pki
5fef75
################################################################################
5fef75
1fd96a
%license base/common/LICENSE
1fd96a
%license base/common/LICENSE.LESSER
1fd96a
%if %{with server}
5fef75
%exclude %{python3_sitelib}/pki/server
5fef75
%endif
5fef75
%{python3_sitelib}/pki
d8bc5c
5fef75
################################################################################
5fef75
%files -n pki-tools
5fef75
################################################################################
5fef75
395bae
%license base/tools/LICENSE
395bae
%doc base/tools/doc/README
5fef75
%{_bindir}/p7tool
914827
%{_bindir}/p12tool
d8bc5c
%{_bindir}/pistool
d8bc5c
%{_bindir}/pki
5fef75
%{_bindir}/revoker
5fef75
%{_bindir}/setpin
5fef75
%{_bindir}/sslget
5fef75
%{_bindir}/tkstool
5fef75
%{_bindir}/AtoB
5fef75
%{_bindir}/AuditVerify
5fef75
%{_bindir}/BtoA
5fef75
%{_bindir}/CMCEnroll
5fef75
%{_bindir}/CMCRequest
5fef75
%{_bindir}/CMCResponse
5fef75
%{_bindir}/CMCRevoke
5fef75
%{_bindir}/CMCSharedToken
5fef75
%{_bindir}/CRMFPopClient
5fef75
%{_bindir}/DRMTool
5fef75
%{_bindir}/ExtJoiner
5fef75
%{_bindir}/GenExtKeyUsage
5fef75
%{_bindir}/GenIssuerAltNameExt
5fef75
%{_bindir}/GenSubjectAltNameExt
5fef75
%{_bindir}/HttpClient
5fef75
%{_bindir}/KRATool
5fef75
%{_bindir}/OCSPClient
5fef75
%{_bindir}/PKCS10Client
5fef75
%{_bindir}/PKCS12Export
5fef75
%{_bindir}/PKICertImport
5fef75
%{_bindir}/PrettyPrintCert
5fef75
%{_bindir}/PrettyPrintCrl
5fef75
%{_bindir}/TokenInfo
5fef75
%{_javadir}/pki/pki-tools.jar
395bae
%{_datadir}/pki/tools/
d8bc5c
%{_datadir}/pki/lib/p11-kit-trust.so
5fef75
%{_mandir}/man1/AtoB.1.gz
5fef75
%{_mandir}/man1/AuditVerify.1.gz
5fef75
%{_mandir}/man1/BtoA.1.gz
5fef75
%{_mandir}/man1/CMCEnroll.1.gz
5fef75
%{_mandir}/man1/CMCRequest.1.gz
5fef75
%{_mandir}/man1/CMCSharedToken.1.gz
5fef75
%{_mandir}/man1/CMCResponse.1.gz
5fef75
%{_mandir}/man1/DRMTool.1.gz
5fef75
%{_mandir}/man1/KRATool.1.gz
5fef75
%{_mandir}/man1/PrettyPrintCert.1.gz
5fef75
%{_mandir}/man1/PrettyPrintCrl.1.gz
5fef75
%{_mandir}/man1/pki.1.gz
5fef75
%{_mandir}/man1/pki-audit.1.gz
5fef75
%{_mandir}/man1/pki-ca-cert.1.gz
5fef75
%{_mandir}/man1/pki-ca-kraconnector.1.gz
5fef75
%{_mandir}/man1/pki-ca-profile.1.gz
5fef75
%{_mandir}/man1/pki-client.1.gz
5fef75
%{_mandir}/man1/pki-group.1.gz
5fef75
%{_mandir}/man1/pki-group-member.1.gz
5fef75
%{_mandir}/man1/pki-kra-key.1.gz
5fef75
%{_mandir}/man1/pki-pkcs12-cert.1.gz
5fef75
%{_mandir}/man1/pki-pkcs12-key.1.gz
5fef75
%{_mandir}/man1/pki-pkcs12.1.gz
5fef75
%{_mandir}/man1/pki-securitydomain.1.gz
5fef75
%{_mandir}/man1/pki-tps-profile.1.gz
5fef75
%{_mandir}/man1/pki-user.1.gz
5fef75
%{_mandir}/man1/pki-user-cert.1.gz
5fef75
%{_mandir}/man1/pki-user-membership.1.gz
5fef75
%{_mandir}/man1/PKCS10Client.1.gz
5fef75
%{_mandir}/man1/PKICertImport.1.gz
5fef75
d8bc5c
# with base
d8bc5c
%endif
5fef75
5fef75
%if %{with server}
5fef75
################################################################################
5fef75
%files -n pki-server
5fef75
################################################################################
5fef75
1fd96a
%license base/common/THIRD_PARTY_LICENSES
1fd96a
%license base/server/LICENSE
5fef75
%doc base/server/README
5fef75
%attr(755,-,-) %dir %{_sysconfdir}/sysconfig/pki
5fef75
%attr(755,-,-) %dir %{_sysconfdir}/sysconfig/pki/tomcat
5fef75
%{_sbindir}/pkispawn
5fef75
%{_sbindir}/pkidestroy
5fef75
%{_sbindir}/pki-server
5fef75
%{_sbindir}/pki-server-upgrade
1fd96a
%{_sbindir}/pki-healthcheck
8b8fbc
%{python3_sitelib}/pki/server/
1fd96a
%{python3_sitelib}/pkihealthcheck-*.egg-info/
1fd96a
%config(noreplace) %{_sysconfdir}/pki/healthcheck.conf
5fef75
5fef75
%{_datadir}/pki/etc/tomcat.conf
5fef75
%dir %{_datadir}/pki/deployment
5fef75
%{_datadir}/pki/deployment/config/
5fef75
%{_datadir}/pki/scripts/operations
5fef75
%{_bindir}/pkidaemon
5fef75
%{_bindir}/pki-server-nuxwdog
5fef75
%dir %{_sysconfdir}/systemd/system/pki-tomcatd.target.wants
5fef75
%attr(644,-,-) %{_unitdir}/pki-tomcatd@.service
5fef75
%attr(644,-,-) %{_unitdir}/pki-tomcatd.target
5fef75
%dir %{_sysconfdir}/systemd/system/pki-tomcatd-nuxwdog.target.wants
5fef75
%attr(644,-,-) %{_unitdir}/pki-tomcatd-nuxwdog@.service
5fef75
%attr(644,-,-) %{_unitdir}/pki-tomcatd-nuxwdog.target
5fef75
%{_javadir}/pki/pki-cms.jar
5fef75
%{_javadir}/pki/pki-cmsbundle.jar
5fef75
%{_javadir}/pki/pki-tomcat.jar
5fef75
%dir %{_sharedstatedir}/pki
5fef75
%{_mandir}/man1/pkidaemon.1.gz
5fef75
%{_mandir}/man5/pki_default.cfg.5.gz
395bae
%{_mandir}/man5/pki_healthcheck.conf.5.gz
5fef75
%{_mandir}/man5/pki-server-logging.5.gz
5fef75
%{_mandir}/man8/pki-server-upgrade.8.gz
5fef75
%{_mandir}/man8/pkidestroy.8.gz
5fef75
%{_mandir}/man8/pkispawn.8.gz
5fef75
%{_mandir}/man8/pki-server.8.gz
1fd96a
%{_mandir}/man8/pki-server-acme.8.gz
5fef75
%{_mandir}/man8/pki-server-instance.8.gz
5fef75
%{_mandir}/man8/pki-server-subsystem.8.gz
5fef75
%{_mandir}/man8/pki-server-nuxwdog.8.gz
5fef75
%{_mandir}/man8/pki-server-migrate.8.gz
5fef75
%{_mandir}/man8/pki-server-cert.8.gz
5fef75
%{_mandir}/man8/pki-server-ca.8.gz
5fef75
%{_mandir}/man8/pki-server-kra.8.gz
5fef75
%{_mandir}/man8/pki-server-ocsp.8.gz
5fef75
%{_mandir}/man8/pki-server-tks.8.gz
5fef75
%{_mandir}/man8/pki-server-tps.8.gz
1fd96a
%{_mandir}/man8/pki-healthcheck.8.gz
5fef75
%{_datadir}/pki/setup/
5fef75
%{_datadir}/pki/server/
395bae
d8bc5c
# with server
d8bc5c
%endif
5fef75
395bae
%if %{with acme}
395bae
################################################################################
395bae
%files -n pki-acme
395bae
################################################################################
395bae
395bae
%{_javadir}/pki/pki-acme.jar
395bae
%{_datadir}/pki/acme/
395bae
395bae
# with acme
395bae
%endif
395bae
5fef75
%if %{with ca}
5fef75
################################################################################
5fef75
%files -n pki-ca
5fef75
################################################################################
5fef75
1fd96a
%license base/ca/LICENSE
5fef75
%{_javadir}/pki/pki-ca.jar
395bae
%{_datadir}/pki/ca/
5fef75
d8bc5c
# with ca
d8bc5c
%endif
5fef75
5fef75
%if %{with kra}
5fef75
################################################################################
5fef75
%files -n pki-kra
5fef75
################################################################################
5fef75
1fd96a
%license base/kra/LICENSE
5fef75
%{_javadir}/pki/pki-kra.jar
395bae
%{_datadir}/pki/kra/
5fef75
d8bc5c
# with kra
d8bc5c
%endif
5fef75
5fef75
%if %{with ocsp}
5fef75
################################################################################
5fef75
%files -n pki-ocsp
5fef75
################################################################################
5fef75
1fd96a
%license base/ocsp/LICENSE
5fef75
%{_javadir}/pki/pki-ocsp.jar
395bae
%{_datadir}/pki/ocsp/
5fef75
d8bc5c
# with ocsp
d8bc5c
%endif
5fef75
5fef75
%if %{with tks}
5fef75
################################################################################
5fef75
%files -n pki-tks
5fef75
################################################################################
5fef75
1fd96a
%license base/tks/LICENSE
5fef75
%{_javadir}/pki/pki-tks.jar
395bae
%{_datadir}/pki/tks/
5fef75
d8bc5c
# with tks
d8bc5c
%endif
5fef75
5fef75
%if %{with tps}
5fef75
################################################################################
5fef75
%files -n pki-tps
5fef75
################################################################################
5fef75
1fd96a
%license base/tps/LICENSE
5fef75
%{_javadir}/pki/pki-tps.jar
395bae
%{_datadir}/pki/tps/
5fef75
%{_mandir}/man5/pki-tps-connector.5.gz
5fef75
%{_mandir}/man5/pki-tps-profile.5.gz
5fef75
%{_mandir}/man1/tpsclient.1.gz
5fef75
5fef75
# files for native 'tpsclient'
5fef75
# REMINDER:  Remove this comment once 'tpsclient' is rewritten as a Java app
5fef75
5fef75
%{_bindir}/tpsclient
5fef75
%{_libdir}/tps/libtps.so
5fef75
%{_libdir}/tps/libtokendb.so
5fef75
d8bc5c
# with tps
d8bc5c
%endif
5fef75
5fef75
%if %{with javadoc}
5fef75
################################################################################
5fef75
%files -n pki-javadoc
5fef75
################################################################################
5fef75
5fef75
%{_javadocdir}/pki-%{version}/
5fef75
d8bc5c
# with javadoc
d8bc5c
%endif
5fef75
5fef75
%if %{with console}
5fef75
################################################################################
5fef75
%files -n pki-console
5fef75
################################################################################
5fef75
1fd96a
%license base/console/LICENSE
5fef75
%{_bindir}/pkiconsole
5fef75
%{_javadir}/pki/pki-console.jar
5fef75
d8bc5c
# with console
d8bc5c
%endif
5fef75
5fef75
%if %{with theme}
5fef75
################################################################################
d8bc5c
%files -n %{vendor_id}-pki-server-theme
5fef75
################################################################################
5fef75
1fd96a
%license themes/%{vendor_id}/common-ui/LICENSE
5fef75
%dir %{_datadir}/pki
5fef75
%{_datadir}/pki/CS_SERVER_VERSION
5fef75
%{_datadir}/pki/common-ui/
5fef75
%{_datadir}/pki/server/webapps/pki/ca
5fef75
%{_datadir}/pki/server/webapps/pki/css
5fef75
%{_datadir}/pki/server/webapps/pki/esc
5fef75
%{_datadir}/pki/server/webapps/pki/fonts
5fef75
%{_datadir}/pki/server/webapps/pki/images
5fef75
%{_datadir}/pki/server/webapps/pki/kra
5fef75
%{_datadir}/pki/server/webapps/pki/ocsp
5fef75
%{_datadir}/pki/server/webapps/pki/pki.properties
5fef75
%{_datadir}/pki/server/webapps/pki/tks
5fef75
5fef75
################################################################################
d8bc5c
%files -n %{vendor_id}-pki-console-theme
5fef75
################################################################################
5fef75
1fd96a
%license themes/%{vendor_id}/console-ui/LICENSE
5fef75
%{_javadir}/pki/pki-console-theme.jar
5fef75
d8bc5c
# with theme
d8bc5c
%endif
5fef75
1fd96a
%if %{with tests}
1fd96a
################################################################################
1fd96a
%files -n pki-tests
1fd96a
################################################################################
1fd96a
1fd96a
%{_datadir}/pki/tests/
1fd96a
1fd96a
# with tests
1fd96a
%endif
1fd96a
5fef75
################################################################################
5fef75
%changelog
914827
* Thu Feb 03 2022 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-2
914827
- Bug 2027470 - pki-healthcheck ClonesConnectivyAndDataCheck fails
914827
914827
* Tue Nov 09 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.12.0-0.1
914827
- Rebase to PKI 10.12.0
914827
- Bug 1904112 - pki fails to start if empty dir /var/lib/pki/pki-tomcat/kra exists
914827
- Bug 1984455 - [RFE] Date Format on the TPS Agent Page
914827
- Bug 1980378 - 'keyctl_search: Required key not available' message when running 'ipa-healthcheck'
914827
- Bug 2004084 - Reinstall of the same ipa-replica fails with 'RuntimeError: CA configuration failed.'
914827
- Bug 2006070 - Upgrades incorrectly add secret attribute to connectors
914827
8b8fbc
* Thu Aug 12 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-2
8b8fbc
- Bug 1992337 - Double issuance of non-CA subsystem certs at installation
8b8fbc
8b8fbc
* Mon Jul 26 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-1
8b8fbc
- Rebase to PKI 10.11.0
8b8fbc
8b8fbc
* Mon Jun 14 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.3
8b8fbc
- Rebase to PKI 10.11.0-alpha3
8b8fbc
8b8fbc
* Thu Jun 03 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.2
8b8fbc
- Fix JAVA_HOME
8b8fbc
8b8fbc
* Wed Jun 02 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.11.0-0.1
8b8fbc
- Rebase to PKI 10.11.0-alpha2
8b8fbc
395bae
* Mon Feb 08 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.4-1
395bae
- Rebase to PKI 10.10.4
395bae
- Bug 1664435 - Error instantiating class for challenge_password with SCEP request
395bae
- Bug 1912418 - OCSP and TKS cloning failed due to duplicate replica ID
395bae
- Bug 1916686 - Memory leak during ACME performance test
395bae
- Bug 1919282 - ACME cert enrollment failed with HTTP 500
395bae
395bae
* Thu Jan 14 2021 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.3-1
395bae
- Rebase to PKI 10.10.3
395bae
- Bug 1584550 - CRMFPopClient: unexpected behavior with -y option when values are specified
395bae
- Bug 1590942 - CMCResponse treats -d as optional
395bae
- Bug 1890639 - Two-step installation with external certificates fails on HSM configured system
395bae
- Bug 1912493 - pkispawn reports incorrect FIPS mode
395bae
395bae
* Tue Dec 08 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.2-1
395bae
- Rebase to PKI 10.10.2
395bae
- Bug 1392616 - KRA key recovery cli kra-key-retrieve generates an invalid p12 file
395bae
- Bug 1897120 - pki-server cert-fix command failing
395bae
- Bug 1694664 - ipa: ERROR: Certificate operation cannot be completed: Unable to communicate with CMS (503)
395bae
395bae
* Tue Nov 17 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.1-1
395bae
- Rebase to PKI 10.10.1
395bae
- Bug 1843416 - kra-audit-mod fail with Invalid event configuration
395bae
- Bug 1889691 - ACME failed when run with more than 1 thread/connection
395bae
- Bug 1891577 - Sub-ordinate installation is failing with NullPointerException
395bae
395bae
* Wed Oct 28 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.0-1
395bae
- Rebase to PKI 10.10.0
395bae
- Add workaround for missing capture_output in Python 3.6
395bae
- Fix JSS initialization in pki-server <subsystem>-user-cert-add
395bae
- Fix NPE in UGSubsystem.findUsersByKeyword()
395bae
- Bug 1787115 - Need Method to copy SKI from CSR to Certificate signed
395bae
- Bug 1875563 - Add KRA Transport and Storage Certificates profiles, audit for IPA
395bae
- Bug 1883996 - Inconsistent folders in pki-tools
395bae
395bae
* Tue Oct 20 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.10.0-0.2.beta1
395bae
- Rebase to PKI 10.10.0-beta1
395bae
- Bug 1868233 - Disabling AIA and cert policy extensions in ACME examples
395bae
395bae
* Fri Sep 11 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.4-1
395bae
- Rebase to PKI 10.9.4
395bae
- Bug 1873235 - Fix SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT in pki ca-user-cert-add
395bae
395bae
* Thu Sep 03 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.3-1
395bae
- Rebase to PKI 10.9.3
395bae
- Bug 1869893 - Common certificates are missing in CS.cfg on shared PKI instance
395bae
395bae
* Tue Aug 18 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.2-2
395bae
- Bug 1871064 - Replica install failing during pki-ca component configuration
395bae
395bae
* Tue Aug 18 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.2-1
395bae
- Rebase to PKI 10.9.2
395bae
395bae
* Wed Aug 12 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.1-2
395bae
- Bug 1857933 - CA Installation is failing with ncipher v12.30 HSM
395bae
- Bug 1868233 - Disabling AIA and cert policy extensions in ACME examples
395bae
395bae
* Thu Aug 06 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.1-1
395bae
- Rebase to PKI 10.9.1
395bae
- Bug 1426572 - Fix Secure connection issue when server is down
395bae
395bae
* Fri Jul 31 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-1
395bae
- Rebase to PKI 10.9.0
395bae
395bae
* Tue Jul 14 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.7
395bae
- Fix pki kra-key-generate failure
395bae
- Fix error handling in PKIRealm
395bae
395bae
* Fri Jul 10 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.6
395bae
- Rebase to PKI 10.9.0-b4
395bae
1fd96a
* Thu Jun 25 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.4
395bae
- Rebase to PKI 10.9.0-b2
1fd96a
1fd96a
* Mon Jun 22 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.3
395bae
- Rebase to PKI 10.9.0-b1
1fd96a
1fd96a
* Tue May 26 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.9.0-0.1
395bae
- Rebase to PKI 10.9.0-a1
1fd96a
1fd96a
* Tue Mar 03 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.3-1
395bae
- Rebase to PKI 10.8.3
395bae
- Bug 1809210 - TPS installation failure on HSM machine
395bae
- Bug 1807421 - Subordinate CA installation failed
395bae
- Bug 1806840 - KRA cloning with HSM failed
1fd96a
1fd96a
* Wed Feb 19 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.2-2
395bae
- Bug 1795215 - pkispawn interactive installation failed
1fd96a
1fd96a
* Mon Feb 17 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.2-1
395bae
- Rebase to PKI 10.8.2
395bae
- Bug 1802006 - KRA installation failed to create ECC admin cert
1fd96a
1fd96a
* Mon Feb 10 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.1-1
395bae
- Rebase to PKI 10.8.1
1fd96a
1fd96a
* Fri Feb 07 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-1
395bae
- Rebase to PKI 10.8.0
1fd96a
1fd96a
* Thu Jan 16 2020 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.5
395bae
- Rebase to PKI 10.8.0-b3
1fd96a
d8bc5c
* Fri Dec 13 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.4
395bae
- Rebase to PKI 10.8.0-b2
d8bc5c
d8bc5c
* Wed Dec 11 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.3
395bae
- Rebase to PKI 10.8.0-b1
d8bc5c
d8bc5c
* Fri Nov 22 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.2
395bae
- Rebase to PKI 10.8.0-a2
d8bc5c
d8bc5c
* Thu Oct 31 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.8.0-0.1
395bae
- Rebase to PKI 10.8.0-a1
d8bc5c
d8bc5c
* Wed Aug 14 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.3-1
395bae
- Rebase to PKI 10.7.3
395bae
- Bug 1698084 - pkidestroy not working as expected
395bae
- Bug 1468050 and Bug #1448235 - Support AES for LWCA key replication
d8bc5c
d8bc5c
* Tue Jul 23 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.2-1
395bae
- Rebase to PKI 10.7.2
395bae
- Bug 1721340 - TPS installation failure
395bae
- Bug 1248216 - Incorrect pkidaemon status
395bae
- Bug 1729215 - cert-fix: detect and prevent pkidbuser being used as --agent-uid
395bae
- Bug 1698059 - pki-core implements crypto
d8bc5c
d8bc5c
* Thu Jun 13 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.1-2
395bae
- Fix cloning issue
395bae
- Fix TPS installation issue
5fef75
d8bc5c
* Wed Jun 12 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.1-1
395bae
- Rebase to PKI 10.7.1
5fef75
d8bc5c
* Wed Apr 24 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.7.0-1
395bae
- Rebase to PKI 10.7.0
5fef75
d8bc5c
* Mon Jan 28 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.9-2
395bae
- Bug 1652269 - Replace Nuxwdog
5fef75
d8bc5c
* Mon Jan 14 2019 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.9-1
395bae
- Rebase to PKI 10.6.9
395bae
- Bug 1629048 - X500Name.directoryStringEncodingOrder overridden by CSR encoding
395bae
- Bug 1652269 - Replace Nuxwdog
395bae
- Bug 1656856 - Need Method to Include SKI in CA Signing Certificate Request
5fef75
d8bc5c
* Thu Nov 29 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.8-1
395bae
- Rebase to PKI 10.6.8
395bae
- Bug 1602659 - Fix issues found by covscan
395bae
- Bug 1566360 - Fix missing serial number from pki-server subsystem-cert-find
5fef75
d8bc5c
* Fri Oct 26 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-3
395bae
- Bug 1643101 - Fix problems due to token normalization
5fef75
d8bc5c
* Tue Oct 23 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-2
395bae
- Bug 1623444 - Fix Python KeyClient KeyRequestResponse parsing
5fef75
d8bc5c
* Fri Oct 05 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.7-1
395bae
- Rebase to PKI 10.6.7
5fef75
d8bc5c
* Fri Aug 24 2018 Alexander Bokovoy <abokovoy@redhat.com> 10.6.6-3
5fef75
- Build on s390x
5fef75
d8bc5c
* Wed Aug 22 2018 Alexander Bokovoy <abokovoy@redhat.com> 10.6.6-2
5fef75
- Use platform-python interpreter
395bae
- Bug 1620066 - pkispawn crashes as /usr/bin/python3 does not exist
5fef75
d8bc5c
* Mon Aug 13 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.6-1
395bae
- Rebase to PKI 10.6.6
5fef75
d8bc5c
* Wed Aug 08 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.5-1
395bae
- Rebase to PKI 10.6.5
5fef75
5fef75
* Tue Aug 07 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-4
395bae
- Bug 1612063 - Do not override system crypto policy (support TLS 1.3)
5fef75
d8bc5c
* Wed Aug 01 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-3
5fef75
- Patch PKI to use Jackson 2 and avoid Jackson 1 dependency.
5fef75
  Add direct dependency on slf4j-jdk14.
5fef75
d8bc5c
* Tue Jul 31 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-2
395bae
- Update Jackson and RESTEasy dependencies
5fef75
d8bc5c
* Fri Jul 20 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.4-1
395bae
- Rebase to PKI 10.6.4
5fef75
d8bc5c
* Thu Jul 05 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.3-1
395bae
- Rebase to PKI 10.6.3
5fef75
d8bc5c
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> 10.6.2-4
395bae
- Rebuild for Python 3.7
5fef75
d8bc5c
* Thu Jun 28 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.2-3
395bae
- Fix macro expressions
395bae
- Bug 1566606 - pki-core: Switch to Python 3
395bae
- Bug 1590467 - pki-core: Drop pylint dependency from RHEL 8
5fef75
d8bc5c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> 10.6.2-2
395bae
- Rebuild for Python 3.7
5fef75
d8bc5c
* Fri Jun 15 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.2-1
395bae
- Rebase to PKI 10.6.2
5fef75
d8bc5c
* Wed May 30 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-3
395bae
- Update JSS dependency
395bae
- Update Tomcat dependency
395bae
- Fix rpmlint warnings
5fef75
d8bc5c
* Fri May 04 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-2
395bae
- Bug 1574711 - pki-tools cannot be installed on current Rawhide
395bae
- Fix rpmlint warnings
5fef75
d8bc5c
* Thu May 03 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.1-1
395bae
- Rebase to PKI 10.6.1
395bae
- Bug 1559047 - pki-core misses a dependency to pki-symkey
395bae
- Bug 1573094 - FreeIPA external CA installation fails
5fef75
d8bc5c
* Wed Apr 11 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-1
395bae
- Update project URL and package descriptions
395bae
- Clean up spec file
395bae
- Rebase to PKI 10.6.0 final
5fef75
d8bc5c
* Thu Mar 29 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-0.3
5fef75
- Iryna Shcherbina <ishcherb@redhat.com>: Update Python 2 dependency declarations to new packaging standards
5fef75
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
395bae
- Rebase to PKI 10.6.0 beta2
5fef75
d8bc5c
* Thu Mar 15 2018 Red Hat PKI Team <rhcs-maint@redhat.com> 10.6.0-0.2
395bae
- Rebase to PKI 10.6.0 beta
5fef75