Docker
TMA-DOCKER-7.8
Ensure that CA certificates are rotated as appropriate
MediaNivel 1Revisión manualdocker
Descripción
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.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --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.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
You should run the command below to rotate a certificate. docker swarm ca --rotate
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- dockermanual
- Referencia
- CIS Docker Benchmark v1.9.0 - 7.8 Ensure that CA certificates are rotated as appropriate