These are not new nodes but not old either, only a few months. The date/time is correct. The DNS is correct. I have not manually set certificate lifetimes to be shorter than the default. However sometimes these nodes might not check in for a few days.This was recently a big problem as the cert for the puppetdb server was revoked.How can I get more information about the revocation?
On Wednesday, March 19, 2014 10:15:19 AM UTC-5, st...@wtfast.com wrote:What would happen if I chattr +i ca_crl.pem to prevent it being updated?Certificate revocation is something that should be manually controlled anyway.Suppose that the Puppet error message is wrong (or at least misleading) and the problem is not revocation. If the crl.pem file is immutable and this error really happened then I would know that it really isn't a revocation, right? And if I ever do want to revoke a cert all I have to do is chattr -iWould this break anything else in Puppet?However looking at it now, I can see that the ca_crl.pem was in fact updated on the day I had problems with the puppetdb servers certificate being 'revoked' so perhaps there is something revoking certs? Or is this just coincidence?Here we go:openssl crl -in ca_crl.pem -text shows a bunch of revocations andSerial Number: 0CRevocation Date: Mar 17 18:15:36 2014 GMTCRL entry extensions:X509v3 CRL Reason Code:Key Compromisewhy would some automated system think the key was compromised and revoke it without any human intervention?
Key compomise is the default revocation reason; that's what Puppet will record if no other is specified.
I remain dubious that anything within Puppet automatically revoked your certificates.
Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=puppetmaster1.redacted.com]
Key compomise is the default revocation reason; that's what Puppet will record if no other is specified.
I remain dubious that anything within Puppet automatically revoked your certificates.
I'm not. We've also experienced this perhaps a dozen times over the last year and a half (most recently this morning, where the puppet master revoked it's own cert).
Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=puppetmaster1.redacted.com]
Our Puppet install is maintained by two people and neither of us revoked this cert. The puppet master was built perhaps a month ago. No DNS, time, or other issues seem apparent.
I have not looked into the code myself, but the behavior is clearly there.