Skip to content
Back to skills

Cis Docker V170 7.7

ASecurity

Ensure that node certificates are rotated as appropriate

  • 2,182 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
securitygobashnodedockersecurity

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-docker-v170-7.7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Docker V170 7.7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Docker V170 7.7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-docker-v170-7-7/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-docker-v170-7-7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-docker-v170-7.7
description: "Ensure that node certificates are rotated as appropriate"
category: cis-docker
version: "1.7.0"
author: cyberstrike-official
tags: [cis, docker, swarm, certificates, rotation]
cis_id: "7.7"
cis_benchmark: "CIS Docker Benchmark v1.7.0"
tech_stack: [docker]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# CIS Docker Benchmark v1.7.0 - Control 7.7

## Profile Applicability

- **Level:** 1
- **Type:** Manual
- **Platform:** Docker Swarm

## Description

You should rotate swarm node certificates in line with your organizational security policy.

## Rationale

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. By default, node certificates are rotated every 90 days, but you should rotate them more often or as appropriate in your environment.

## Impact

None

## Audit Procedure

Run one of the commands below and ensure that the node certificate `Expiry Duration` is set as appropriate.

```bash
docker info | grep "Expiry Duration"
docker info --format 'NodeCertExpiry: {{ .Swarm.Cluster.Spec.CAConfig.NodeCertExpiry }}'
```

## Remediation

You should run the command to set the desired expiry time on the node certificate.

For example:

```bash
docker swarm update --cert-expiry 48h
```

## Default Value

By default, node certificates are rotated automatically every 90 days.

## References

1. https://docs.docker.com/engine/reference/commandline/swarm_update/#examples

## CIS Controls

**v8:**

- **5.2 Use Unique Passwords**
  - Use unique passwords for all enterprise assets. Best practice implementation includes, at a minimum, an 8-character password for accounts using MFA and a 14-character password for accounts not using MFA.

**v7:**

- **4.4 Use Unique Passwords**
  - Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…