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:
Marvin W 2023-07-09 14:15:40 +02:00
parent 1bf57a42fa
commit 7357b7ecfb

View file

@ -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();