In summary:
- Client connects for the first time and requests cert;
- on the Master,
puppetca -s client
is executed; - Client gets the cert and completes the run successfully.
Fine. But now:
- on the Master,
puppetca -c client
is executed and client's cert is not in the cert list anymore; - Client connects again and can perform the run as usual;
Restarting puppetmasterd doesn't solve the issue. How can I prevent client to connect once its cert has been revoked?
Thanks in advance
puppetca -c client
? How do you tell that the client's cert is not in the cert list? What is your OS and Puppet version? How do you run the puppet master? How many clients do you have? – Antonis Christofides Jun 21 '12 at 6:54-c
, but it's the usual success message. (2)-l
lists the certs and it's not there anymore. (3) Ubuntu 10.04, puppet 2.7.9 (4) Do you meanservice puppetmaster start
? (5) 12 clients – chris Jun 21 '12 at 7:47puppetd --test
? Doespuppetd --test
run properly? Do the master's log files just show a normal connection and run by the client? – Antonis Christofides Jun 21 '12 at 8:12puppetd --onetime --no-daemonize --verbose --waitforcert 5
(2)--test
runs properly, even when the cert has been revoked (3) Unfortunately I've never been able to enable logging on the master... – chris Jun 21 '12 at 8:37autosign
enabled by any chance?/etc/puppet/autosign.conf
on your puppetmaster should be either empty or non-existent. – Cosimo Jul 8 '12 at 19:39