dogtagpki / pki

The Dogtag Certificate System is an enterprise-class Certificate Authority (CA) which supports all aspects of certificate lifecycle management, including key archival, OCSP and smartcard management.
https://www.dogtagpki.org
GNU General Public License v2.0
364 stars 135 forks source link

Allow 'pkispawn' to remotely configure a PKI instance #1682

Open pki-bot opened 4 years ago

pki-bot commented 4 years ago

This issue was migrated from Pagure Issue #1119. Originally filed by mharmsen (@mharmsen) on 2014-08-22 23:08:08:


To provide a more robust separation of roles, the 'pkispawn' utility should be allowed to be installed on a remote machine such that it may be utilized by a remote administrator to configure a pre-installed PKI instance.

This ticket will require the completion of PKI TRAC Ticket 1118 - Move 'pkispawn' and 'pkidestroy' to a separate package called 'pki-deploy'.

The 'pkispawn' utility should allow configuration of a PKI instance on either a local or a remote machine, but should disallow installation of a PKI instance from a remote machine.

The 'pkidestroy' utility should also disallow removal of a PKI instance from a remote machine.

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2014-08-26 04:13:57

After certain alterations, the following was copied from the now defunct ticket PKI TRAC Ticket 1118 - Move 'pkispawn' to a separate package to allow remote access:

If 'pkispawn' is run on the server, it will gather its information, generate the Admin Certificate Keys and produce a CSR, and send all of this data to the 'pkideploy' executable in order to install and configure a PKI instance. This will be the default case.

Similarly, if 'pkispawn' is run remotely as a client (after the server-side admin has first setup remote access for the client-side admin), it will gather its information, generate Admin Certificate Keys and produce a CSR, prompt for access to the server, and relay this information to the 'pkideploy' executable on the server side. We may want to include something like a "--remote" switch to distinguish whether configuration is on the local host or on a remote host.

In either case, we may simply perform an 'ssh' with the appropriate options to have 'pkispawn' invoke 'pkideploy' with the appropriate data as arguments; it must still be determined what the best approach should be to return the Administrative Certificate.

Note that the Admin Certificate keys will always be generated on the machine which invokes the 'pkispawn' executable.

This also implies that there will no longer be the notion of an installed PKI instance that has not been configured, so the 'pki_skip_installation' and 'pki_skip_configuration' options and their associated code will need to be removed.

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2014-08-27 02:56:37

The following requirement was moved into this ticket from PKI TRAC Ticket 1120 - Remove Firefox PKI GUI Configuration Panel Interface:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2014-09-18 04:20:26

Proposed Milestone: 10.2.2 (per CS Meeting of 09/17/2014)

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2015-01-15 00:39:16

Per Dogtag 10.2.X meeting of 01/14/2015: Milestone 10.3

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-02-27 14:11:04

Metadata Update from @mharmsen: