diff options
| author | James Kirsch <generalfuzz@gmail.com> | 2019-12-18 15:49:28 -0800 |
|---|---|---|
| committer | James Kirsch <generalfuzz@gmail.com> | 2020-01-28 14:03:32 -0800 |
| commit | 511ba9f6a2ff09c0f3b55a700696fca2004a9072 (patch) | |
| tree | 88db6eeef3f5ca38c15b1f39cc3550e53ca7df2d /doc | |
| parent | 4d0c442b883d6fbea5eba92a300f6b2def717d55 (diff) | |
| download | kolla-ansible-511ba9f6a2ff09c0f3b55a700696fca2004a9072.tar.gz kolla-ansible-511ba9f6a2ff09c0f3b55a700696fca2004a9072.zip | |
Copy CA into containers.
When kolla_copy_ca_into_containers is set to "yes", the Certificate
Authority in /etc/kolla/certificates will be copied into service
containers to enable trust for that CA. This is especially useful when
the CA is self signed, and would not be trusted by default.
Partially-Implements: blueprint custom-cacerts
Change-Id: I4368f8994147580460ebe7533850cf63a419d0b4
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/admin/advanced-configuration.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/source/admin/advanced-configuration.rst b/doc/source/admin/advanced-configuration.rst index ecc2337b0..9d5b52ed2 100644 --- a/doc/source/admin/advanced-configuration.rst +++ b/doc/source/admin/advanced-configuration.rst @@ -165,6 +165,32 @@ configuration file: The files haproxy.pem and haproxy-ca.pem will be generated and stored in the ``/etc/kolla/certificates/`` directory. +Adding CA Certificates to the Service Containers +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To copy CA certificate files to the service containers + +.. code-block:: yaml + + kolla_copy_ca_into_containers: "yes" + +When ``kolla_copy_ca_into_containers`` is configured to "yes", the +CA certificate files in /etc/kolla/certificates/ca will be copied into +service containers to enable trust for those CA certificates. This is required +for any certificates that are either self-signed or signed by a private CA, +and are not already present in the service image trust store. + +All certificate file names will have the "kolla-customca-" prefix appended to +it when it is copied into the containers. For example, if a certificate file is +named "internal.crt", it will be named "kolla-customca-internal.crt" in the +containers. + +For Debian and Ubuntu containers, the certificate files will be copied to +the ``/usr/local/share/ca-certificates/`` directory. + +For Centos and Red Hat Linux containers, the certificate files will be copied +to the ``/etc/pki/ca-trust/source/anchors/`` directory. + .. _service-config: OpenStack Service Configuration in Kolla |
