Why does my Puppet Master randomly revoke my Agent's certificate?

118 views
Skip to first unread message

Jason Oakley

unread,
Sep 1, 2014, 6:57:58 PM9/1/14
to puppet...@googlegroups.com
My servers were working fine, when I got this error:
Inventory
Could not retrieve facts from inventory service: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: sslv3 alert certificate revoked

Now, everything was working fine. Due to this error, I re-created the certificate and all was well. Then, I logged onto the Master a day or two later and the certificate is yet again revoked.
How do I stop this?

TIA

jcbollinger

unread,
Sep 2, 2014, 10:55:20 AM9/2/14
to puppet...@googlegroups.com


Puppet does not perform automatic certificate revokations.  I have personally crawled the code to check.  IIRC, the last time we had a question like this one, the user eventually discovered a separate automated process in his environment that was revoking certain certificates.  If you have any kind of automated process around issuing certs, then that's the first place I would look.

You could also consider making your ssl/ directory and everything in it read-only (immutable, if necessary), to try to identify the rogue behavior by forcing it to error out.


John

Jason Oakley

unread,
Sep 2, 2014, 9:51:22 PM9/2/14
to puppet...@googlegroups.com
Thanks. I'll look at that, but the only thing running on my Master server is Puppet Master. My Agent server only has Minecraft, PHP, MySQL, WordPress.. nothing using certificates at all.

Eric Sorenson

unread,
Sep 3, 2014, 2:25:30 PM9/3/14
to puppet...@googlegroups.com
Note too that the certificate revocation list only contains serial numbers. So it could be that you are getting duplicate serial numbers issued, and the number matches one that was cleaned/revoked at some point in the past, so the CRL contains its number.  More in my ssl troubleshooting guide on ask:

Reply all
Reply to author
Forward
0 new messages