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 92b7d97339
commit 0521f50146
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

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