Fix certificate start time
I doubt anyone ever looked at it, but it shouldn't be 1 day in the future ;)
This commit is contained in:
parent
92b7d97339
commit
0521f50146
|
@ -86,7 +86,7 @@ public class Handler {
|
|||
err = private_key.generate(PKAlgorithm.ECDSA, 256);
|
||||
throw_if_error(err);
|
||||
|
||||
var start_time = new DateTime.now_local().add_days(1);
|
||||
var start_time = new DateTime.now_local().add_days(-1);
|
||||
var end_time = start_time.add_days(2);
|
||||
|
||||
X509.Certificate cert = X509.Certificate.create();
|
||||
|
|
Loading…
Reference in a new issue