Skip to content

Commit 2e904fa

Browse files
authored
Update TLS cipher suites for API server
These are the recommended values from CIS 0.12 guidelines Signed-off-by: Lennard Klein <[email protected]>
1 parent 80ab7a0 commit 2e904fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/machined/pkg/controllers/k8s/control_plane_static_pod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func (ctrl *ControlPlaneStaticPodController) manageAPIServer(ctx context.Context
371371
"enable-bootstrap-token-auth": "true",
372372
// NB: using TLS 1.2 instead of 1.3 here for interoperability, since this is an externally-facing service.
373373
"tls-min-version": "VersionTLS12",
374-
"tls-cipher-suites": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256", //nolint:lll
374+
"tls-cipher-suites": "TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", //nolint:lll
375375
"encryption-provider-config": filepath.Join(constants.KubernetesAPIServerSecretsDir, "encryptionconfig.yaml"),
376376
"audit-policy-file": filepath.Join(constants.KubernetesAPIServerConfigDir, "auditpolicy.yaml"),
377377
"audit-log-path": filepath.Join(constants.KubernetesAuditLogDir, "kube-apiserver.log"),

0 commit comments

Comments
 (0)