diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-13 08:21:25 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-13 08:33:04 -0400 |
commit | 5c5edfa9b3a2f3baad06802269e7acd1d3e77566 (patch) | |
tree | 2b909ac63c9848d0e991eb25c105b8a5a204ad03 /schemas/sslca-key.xsd | |
parent | 1fd3b4cb3151a993b5f62b57898fafc7ff020b98 (diff) | |
download | bcfg2-5c5edfa9b3a2f3baad06802269e7acd1d3e77566.tar.gz bcfg2-5c5edfa9b3a2f3baad06802269e7acd1d3e77566.tar.bz2 bcfg2-5c5edfa9b3a2f3baad06802269e7acd1d3e77566.zip |
Rewrote SSLCA as Cfg handler.
This adds encryption support to SSL key creation (much like SSH
private keys), and the ability to generate keys and certs that are
specific to groups, instead of just to hosts. It also moves the SSLCA
data (the XML files describing keys and certs as well as the keys and
certs themselves) into the Cfg tree, rather than off in their own
separate place.
tools/upgrade/1.4/migrate_sslca.py can be used to migrate to the new
format.
This also adds XMLCfgCreator, a CfgCreator that makes it easier to
create data based on XML descriptions of it (which is exactly what the
SSH key and SSL CA creators do), including built-in support for host-
and group-specific data, encryption, and so on.
Diffstat (limited to 'schemas/sslca-key.xsd')
-rw-r--r-- | schemas/sslca-key.xsd | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/schemas/sslca-key.xsd b/schemas/sslca-key.xsd index 261b71e1a..3523a0c60 100644 --- a/schemas/sslca-key.xsd +++ b/schemas/sslca-key.xsd @@ -2,7 +2,7 @@ xmlns:py="http://genshi.edgewall.org/" xml:lang="en"> <xsd:annotation> <xsd:documentation> - Schema for :ref:`server-plugins-generators-sslca` ``key.xml`` + Schema for :ref:`server-plugins-generators-sslca` ``sslkey.xml`` </xsd:documentation> </xsd:annotation> @@ -91,11 +91,26 @@ <xsd:element name="Client" type="SSLCAKeyGroupType"/> <xsd:element name="KeyInfo" type="KeyInfoType"/> </xsd:choice> - <xsd:attribute name="lax_decryption" type="xsd:boolean"> + <xsd:attribute name="perhost" type="xsd:boolean"> <xsd:annotation> <xsd:documentation> - Override the global lax_decryption setting in - ``bcfg2.conf``. + Create keys on a per-host basis (rather than on a per-group + basis). + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="category" type="xsd:string"> + <xsd:annotation> + <xsd:documentation> + Create keys specific to the given category, instead of + specific to the category given in ``bcfg2.conf``. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="priority" type="xsd:positiveInteger" default="50"> + <xsd:annotation> + <xsd:documentation> + Create group-specific keys with the given priority. </xsd:documentation> </xsd:annotation> </xsd:attribute> |