-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--fix-offset behaviour is incorrect #803
Comments
In fact, that is how it is meant to work. The fixed-offset feature is in a very early stage and so may not do what you expect, at this time. When fixed-offset was first introduced, EasyRSA did not (and still does not) generate post-dated certificates. All certificates are Valid from the moment they are created. It can be improved from the original design. But working with The closest you can get to what you want is to use |
This is essentially a Feature-request for specifying start and end dates, which would really be more logical than the current implementation. |
Next time you hit a snag, please try again without If you have time to test then apply this patch and try again
|
Example cert, see dates:
|
A very easy fix. |
Commenting "back-date by one year" code helps, thanks. |
@rpv-tomsk does this work for you or did you find subsequent issues ? I have a patch ready to merge: #804 Thanks. |
Hi,
I'm trying to issue certificate which would be valid from 22/Dec/2022 to 13/Jan/2023
Found following options in
easyrsa help options
which expected to give me all I need:Using OpenOffice Calc, offset and number of days are calculated, result is:
easyrsa --batch --days 22 --fix-offset 355 build-client-full COMMONNAME
But hit a bug - certificate unexpectedly created with dates in a past:
Something needs to be corrected in easyrsa.
Thanks.
The text was updated successfully, but these errors were encountered: