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
1bf57a42fa
commit
7357b7ecfb
|
@ -86,7 +86,7 @@ public class Handler {
|
||||||
err = private_key.generate(PKAlgorithm.ECDSA, 256);
|
err = private_key.generate(PKAlgorithm.ECDSA, 256);
|
||||||
throw_if_error(err);
|
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);
|
var end_time = start_time.add_days(2);
|
||||||
|
|
||||||
X509.Certificate cert = X509.Certificate.create();
|
X509.Certificate cert = X509.Certificate.create();
|
||||||
|
|
Loading…
Reference in a new issue