Since the release of puppetserver 6.3, valid certificates were being listed as `revoked`. This commit fixes the logic that compares the new `not_after` field returned by the Puppet Server 6.3 API with the current time.
Related issues
Bug #26458: Smart Proxy lists valid certificates as expired
fixes #26458 - Fix expired certificate logic
Since the release of puppetserver 6.3, valid certificates were being
listed as `revoked`. This commit fixes the logic that compares the
new `not_after` field returned by the Puppet Server 6.3 API with the
current time.