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