Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-894

Too easy to hit "CRL not yet valid for <host>" (and not very informative)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.1
    • Networking
    • None
    • 1
    • Platform 2014-09-17

    Description

      Currently we set the CRL time range to start at 1 second in the past:

      https://github.com/puppetlabs/puppet/blob/a8311df5438601a3394d38e37f671626969d50db/lib/puppet/ssl/certificate_revocation_list.rb#L85

      However, this creates a window where an agent with a small amount of clock skew can hit the `CRL not yet valid for <host>` message. This affects both acceptance tests, which sometimes hit this condition and end-users.

      We should do something about this. Suggestion here is to: a) bump the 1 second to 1 minute, and b) catch this error message out of OpenSSL and wordsmith it a bit to hint at addressing clock skew.

      Attachments

        Issue Links

          Activity

            People

              britt Britt Gresham
              kylo Kylo Ginsberg
              Erik Dasher Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support