Docker
TMA-DOCKER-7.8
Ensure that CA certificates are rotated as appropriate
MoyenneNiveau 1Revue manuelledocker
Description
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.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.
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.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
You should run the command below to rotate a certificate. docker swarm ca --rotate
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- dockermanual
- Référence
- CIS Docker Benchmark v1.9.0 - 7.8 Ensure that CA certificates are rotated as appropriate