redat
11/17/2025, 4:39 PMredat
11/17/2025, 4:45 PMredat
11/17/2025, 5:04 PMroot@agent:/etc/puppetlabs/puppet/ssl/certs# ls -al
total 12
drwxr-xr-x 2 root root 4096 Nov 17 17:01 .
drwxrwx--x 7 root root 4096 Nov 17 17:02 ..
-rw-r--r-- 1 root root 1895 Nov 17 17:01 ca.pemCorporate Gadfly
11/17/2025, 5:06 PMca.pem is not going to cause any harm.
You, as the Puppet administrator, hold the power.bastelfreak
11/17/2025, 5:07 PMredat
11/17/2025, 5:09 PMredat
11/17/2025, 5:09 PMcsharpsteen
11/17/2025, 5:09 PMbut that would be quite big MITM attack vectorEhhh, that depends on the network setup. Puppet commonly runs over an internal management network. If someone can pull a MITM there, then they're in a position to cause all sorts of trouble regardless of whether the initial request for the CA bundle is verified.
csharpsteen
11/17/2025, 5:10 PMca.pem to new nodes via another secured channel.
SSH, cloud-init, etc.redat
11/17/2025, 5:11 PMredat
11/17/2025, 5:12 PMcsharpsteen
11/17/2025, 5:14 PMpuppet agent interacts with the Server, it will download ca.pem if it does not have a copy on file.
That is a one-time window where an unverified request is made, all API calls afterwards are verified against ca.pem. The window can be eliminated by copying ca.pem before starting the puppet service.redat
11/17/2025, 5:45 PMredat
11/17/2025, 5:45 PMCVQuesty
11/17/2025, 6:48 PM