Skip to content

feature request: function to read certificate expiration date #144

@lesinigo

Description

@lesinigo

It would be good to have a function to read certificate expiration date.

My use case would be along these lines:

  • if certificate expires more than X days in the future, do nothing
  • if it expires less than or equal to X days in the future, notify an exec that would delete the certificate file and its key
  • then openssl::certificate::x509 (which I'd mark to require the exec before it, to force correct ordering) would simply re-generate a new key and a new cert
  • then anything subscribing openssl::certificate::x509 would take care of application reloads and the like

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions