aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rootd.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-03-27 15:56:51 +0000
committerRob Austein <sra@hactrn.net>2008-03-27 15:56:51 +0000
commite1e5eb6d4541d865b1fcda093c90da8ba93b537b (patch)
tree5c59aa957fe4a29f3cfabc62d363aeb2777f1a0a /rpkid/rootd.py
parent5024ffbe382f0e279997fdf3f0e3d725d0fa9d50 (diff)
Add revoked_cert table and rototill child_cert revocation code to use
it. Enable MySQLdb exceptions, whack resulting problem with MySQL DATETIME object conversion repeatedly with a blunt object. svn path=/docs/rpki-db-schema.pdf; revision=1564
Diffstat (limited to 'rpkid/rootd.py')
-rwxr-xr-xrpkid/rootd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rootd.py b/rpkid/rootd.py
index 212e6469..06819ff0 100755
--- a/rpkid/rootd.py
+++ b/rpkid/rootd.py
@@ -89,8 +89,8 @@ class issue_pdu(rpki.up_down.issue_pdu):
aia = rootd_cert,
crldp = crldp,
resources = resources,
- notAfter = rpki.sundial.datetime.utcnow() + rpki_subject_lifetime))
- now = rpki.sundial.datetime.utcnow()
+ notAfter = rpki.sundial.now() + rpki_subject_lifetime))
+ now = rpki.sundial.now()
crl = rpki.x509.CRL.generate(
keypair = rpki_key,
issuer = rpki_issuer,