freeipa/ipalib/plugins
Rob Crittenden 49b36583a5 Add external CA signing and abstract out the RA backend
External CA signing is a 2-step process. You first have to run the IPA
installer which will generate a CSR. You pass this CSR to your external
CA and get back a cert. You then pass this cert and the CA cert and
re-run the installer. The CSR is always written to /root/ipa.csr.

A run would look like:

 # ipa-server-install --ca --external-ca -p password -a password -r EXAMPLE.COM -u dirsrv -n example.com --hostname=ipa.example.com -U
[ sign cert request ]
 # ipa-server-install --ca --external-ca -p password -a password --external_cert_file=/tmp/rob.crt --external_ca_file=/tmp/cacert.crt  -U -p password -a password -r EXAMPLE.COM -u dirsrv -n example.com --hostname=ipa.example.com

This also abstracts out the RA backend plugin so the self-signed CA we
create can be used in a running server. This means that the cert plugin
can request certs (and nothing else). This should let us do online replica
creation.

To handle the self-signed CA the simple ca_serialno file now contains
additional data so we don't have overlapping serial numbers in replicas.
This isn't used yet. Currently the cert plugin will not work on self-signed
replicas.

One very important change for self-signed CAs is that the CA is no longer
held in the DS database. It is now in the Apache database.

Lots of general fixes were also made in ipaserver.install.certs including:
 - better handling when multiple CA certificates are in a single file
 - A temporary directory for request certs is not always created when the
   class is instantiated (you have to call setup_cert_request())
2009-09-15 10:01:08 -04:00
..
__init__.py Renamed f_misc.py plugin module to misc.py 2009-02-03 15:29:00 -05:00
aci.py Remove outstanding 2's from plugins. 2009-07-02 13:33:04 -04:00
automount.py Automatically generate an auto.master map for new automount location. 2009-09-10 10:06:27 -04:00
basegroup.py Add a new objectclass, ipaObject, that will add a UUID to many IPA objects 2009-08-10 16:38:42 -06:00
baseldap.py Fix typos and minor bugs in baseldap. Add --all to LDAPUpdate. 2009-09-11 09:21:51 -04:00
cert.py Add external CA signing and abstract out the RA backend 2009-09-15 10:01:08 -04:00
config.py Remove outstanding 2's from plugins. 2009-07-02 13:33:04 -04:00
delegation.py Rename *-create/*-delete commands to *-add/*-del respectively. 2009-07-02 13:33:02 -04:00
dns.py Fix bug in dns_find - execute() returned different value than expected. 2009-09-08 13:39:06 -04:00
group.py Clean up additional issues discovered with pylint and pychecker 2009-08-20 09:20:56 -04:00
host.py Add a new objectclass, ipaObject, that will add a UUID to many IPA objects 2009-08-10 16:38:42 -06:00
hostgroup.py Change command names from *group-del-member to *group-remove-member. 2009-07-09 13:25:19 -06:00
join.py Rename *-create/*-delete commands to *-add/*-del respectively. 2009-07-02 13:33:02 -04:00
kerberos.py Fleshed out krb plugin and added example of scripting against Python API 2009-08-31 15:47:14 -06:00
misc.py Rename *-create/*-delete commands to *-add/*-del respectively. 2009-07-02 13:33:02 -04:00
netgroup.py Add a new objectclass, ipaObject, that will add a UUID to many IPA objects 2009-08-10 16:38:42 -06:00
passwd.py Fix bug in basegroup and passwd plugins (incorrect use of find_entry_by_attr). 2009-07-02 13:33:02 -04:00
pwpolicy.py Rename plugins2 to plugins. 2009-07-02 13:33:02 -04:00
rolegroup.py Change command names from *group-del-member to *group-remove-member. 2009-07-09 13:25:19 -06:00
service.py Add external CA signing and abstract out the RA backend 2009-09-15 10:01:08 -04:00
taskgroup.py Change command names from *group-del-member to *group-remove-member. 2009-07-09 13:25:19 -06:00
user.py Add a new objectclass, ipaObject, that will add a UUID to many IPA objects 2009-08-10 16:38:42 -06:00
virtual.py Raise more specific error when an Objectclass Violation occurs Fix the virtual plugin to work with the new backend 2009-09-14 09:46:39 -04:00
xmlclient.py Sundry work getting ready to switch to new XML-RPC client/server code 2009-02-03 15:29:00 -05:00