#1801
DNS-01 issuance fails on cross-namespace chmod
Problem
DNS-01 certificate issuance can fail before Certbot runs with:
chmod: /etc/letsencrypt/.openship-dns-<id>: Operation not permittedNginxProvider.createEphemeralDnsHooks() creates the temporary hook directory through the executor file channel, then chmods it through the command channel. On container/host deployments those operations can use different users or namespaces.
Impact
Connected DNS providers (including Cloudflare) cannot issue certificates for private-address domains. HTTP-01 is unaffected.
Proposed fix
Do not chmod the temporary directory through the command channel. Create hook files with mode 0700 through the file operation, which is the channel that owns the files.
A patch is available in PR # pending.
Activity
0No activity yet.