DKER-EE-002380 - The certificate chain used by Universal Control Plane (UCP) client bundles must match what is defined in the System Security Plan (SSP) in Docker Enterprise.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Both the UCP and Docker Trusted Registry (DTR) components of Docker Enterprise leverage the same authentication and authorization backplane known as eNZi. UCP has the ability to use external certificates or internal self-signed. In the case of self-signed UCP includes a certificate authority which is used to sign client bundles and to authenticate users via the eNZi backplane. With an external certificate authority (CA) users will use their existing x509 certs. The external CA will be added in an administrative function and will dictate the root CA for the user's chain.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

via GUI:

As any user with access to UCP, within the UCP web console, click on the username dropdown in the top-left corner, and select 'My Profile'. On the 'Client Bundles' tab, select the 'New Client Bundle' dropdown and click 'Add Existing Client Bundle'. Provide an appropriate 'Label', and in the 'Public Key' field, paste the public key of the certificate chain provided to that user by the organization. Click 'Confirm' to save the bundle.

via CLI:

Linux (requires curl): As a Docker EE Admin, execute the following commands using a client bundle and from a machine with connectivity to the UCP management console.

curl --cacert ca.pem --cert cert.pem --key key.pem -X POST -H 'Content-Type: application/json' -d '{'certificates':[{'cert':'[encoded_PEM_for_cert]','label':'[cert_label]'}],'label':'[key_description]','publicKey':'[encoded_PEM_for_public_key]'}' https://[ucp_url]/api/accounts/[account_name_or_id]/publickeys

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Docker_Enterprise_2-x_Linux-UNIX_V2R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000186, Rule-ID|SV-235822r627593_rule, STIG-ID|DKER-EE-002380, STIG-Legacy|SV-104817, STIG-Legacy|V-95679, Vuln-ID|V-235822

Plugin: Unix

Control ID: 736ea0869d7cf16db69991318f165d42f5d19f0bcf5b997d1e32070fd428f438