#14491·talos

DigitalOcean: Talos API certificate lacks the VPC address, talosctl over the VPC fails

Author: houssamhammoudiCreated Sep 28, 2026Updated Sep 28, 2026

Feature Request

Description

On DigitalOcean, the Talos API certificate doesn't include the droplet's VPC address, so you can't manage a node over the VPC without adding it to machine.certSANs yourself. The DigitalOcean guide enables private networking but doesn't mention this.

What I saw. Talos v1.14.1, image from Image Factory for the digital-ocean platform, one control plane droplet with a public address and a VPC address, created with no user data. I applied the config from a bastion in the same VPC (maintenance mode, --insecure with a pinned fingerprint), which worked. Right after that, every talosctl call to the VPC address failed:

x509: certificate is valid for 127.0.0.1, 203.0.113.21, not 10.10.1.11

(Addresses replaced with example ones: 203.0.113.21 is the public address, 10.10.1.11 the VPC address.) Adding the VPC address fixed it:

yaml
machine:
  certSANs:
    - 10.10.1.11

What I suspect, not verified: the certificate is built from the addresses Talos treats as the node's external ones on this platform, and the VPC interface isn't among them. I only tried the Talos API; I didn't check the Kubernetes API certificate.

What would help: either include the VPC address in the certificate on DigitalOcean, or a short note in the DigitalOcean guide to add it to machine.certSANs when you manage nodes over the VPC. Otherwise someone who closes the public port with a cloud firewall, as you should, can lock themselves out right after the first apply.

I wrote up the whole setup here: https://h2security.io/secure/talos-digitalocean-kernel-hardening/

Houssam Hammoudi, H2 Security