Docker
TMA-DOCKER-7.8
Ensure that CA certificates are rotated as appropriate
MittelStufe 1Manuelle Prüfungdocker
Beschreibung
You should rotate root CA certificates as appropriate. Docker Swarm uses TLS for clustering operations between its nodes. Certificate rotation ensures that in an event such as a compromised node or key, it is difficult to impersonate a node. Reported as a manual review item: the audit needs a site-specific judgement.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
You should check the time stamp on the root CA certificate file. For example: ls -l /var/lib/docker/swarm/certificates/swarm-root-ca.crt The certificate should show a time stamp in line with the organizational rotation policy.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
You should run the command below to rotate a certificate. docker swarm ca --rotate
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- dockermanual
- Referenz
- CIS Docker Benchmark v1.9.0 - 7.8 Ensure that CA certificates are rotated as appropriate