Skip to content

Finer Expiry Control #82

Open
Open

Description

@Goirad

Hello,
I find that I often need to create expired certificates for testing related validation and it would be extremely helpful if the --expires option was extended to allow passing minutes and even seconds.

Activity

  1. mbyczkowski commented on Sep 5, 2019

    @mbyczkowski
    Contributor

    I think it'd probably be fine to have a flag that takes expiry in simple duration format 1d10h2m5s

  2. Goirad commented on Sep 5, 2019

    @Goirad
    Author

    Or even better would be the ability to offset the start date backwards in time by a similar mechanism
    ie --offset -1y --expires 1m to create a certificate valid starting a year ago for a period of 1 month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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