mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
03837bfd6d
Certificate renewal can be done only one one CA as the certificates need to be shared amongst them. certmonger has been trained to communicate directly with dogtag to perform the renewals. The initial CA installation is the defacto certificate renewal master. A copy of the certificate is stored in the IPA LDAP tree in cn=ca_renewal,cn=ipa,cn=etc,$SUFFIX, the rdn being the nickname of the certificate, when a certificate is renewed. Only the most current certificate is stored. It is valid to have no certificates there, it means that no renewals have taken place. The clones are configured with a new certmonger CA type that polls this location in the IPA tree looking for an updated certificate. If one is not found then certmonger is put into the CA_WORKING state and will poll every 8 hours until an updated certificate is available. The RA agent certificate, ipaCert in /etc/httpd/alias, is a special case. When this certificate is updated we also need to update its entry in the dogtag tree, adding the updated certificate and telling dogtag which certificate to use. This is the certificate that lets IPA issue certificates. On upgrades we check to see if the certificate tracking is already in place. If not then we need to determine if this is the master that will do the renewals or not. This decision is made based on whether it was the first master installed. It is concievable that this master is no longer available meaning that none are actually tracking renewal. We will need to document this. https://fedorahosted.org/freeipa/ticket/2803
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# This file will be processed with automake-1.7 to create Makefile.in
|
|
#
|
|
AUTOMAKE_OPTIONS = 1.7
|
|
|
|
NULL =
|
|
|
|
SUBDIRS = \
|
|
certmonger \
|
|
conf \
|
|
html \
|
|
migration \
|
|
share \
|
|
ui \
|
|
tools \
|
|
updates \
|
|
po \
|
|
restart_scripts \
|
|
$(NULL)
|
|
|
|
install-exec-local:
|
|
mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
|
|
chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
|
|
mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/sysupgrade
|
|
chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysupgrade
|
|
mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/sessions
|
|
chmod 700 $(DESTDIR)$(localstatedir)/cache/ipa/sessions
|
|
|
|
uninstall-local:
|
|
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
|
|
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa/sysupgrade
|
|
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa
|
|
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa/sessions
|
|
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa
|
|
|
|
DISTCLEANFILES = \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
intltool-*.in \
|
|
compile \
|
|
configure \
|
|
COPYING \
|
|
INSTALL \
|
|
install-sh \
|
|
missing \
|
|
mkinstalldirs \
|
|
config.guess \
|
|
ltmain.sh \
|
|
config.sub \
|
|
depcomp \
|
|
Makefile.in \
|
|
config.h.* \
|
|
aclocal.m4 \
|
|
version.m4 \
|
|
ipa-client.spec \
|
|
py-compile \
|
|
$(NULL)
|