diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-07 06:39:42 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-07 06:39:42 +0000 |
commit | 63b42d248311fda78e2dc849d8cca0ced7976c82 (patch) | |
tree | e4a79471274e399f64cd3b85f1cd5fbe99847549 /rpki/rpkid.py | |
parent | 4140eef6ad90cf9043efa3d3b695df142d24b4c3 (diff) |
Apparently I broke router certificate generation on this branch a while ago and didn't notice.
svn path=/branches/tk705/; revision=6097
Diffstat (limited to 'rpki/rpkid.py')
-rw-r--r-- | rpki/rpkid.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpki/rpkid.py b/rpki/rpkid.py index 267a95b1..478c46bd 100644 --- a/rpki/rpkid.py +++ b/rpki/rpkid.py @@ -2352,10 +2352,12 @@ class ee_cert_obj(rpki.sql.sql_persistent): cn, sn = subject_name.extract_cn_and_sn() ca = ca_detail.ca + sia = (None, None, ca_detail.ca.sia_uri + subject_key.gSKI() + ".cer", rpki.publication.rrdp_sia_uri_kludge) + cert = ca_detail.issue_ee( ca = ca, subject_key = subject_key, - sia = None, + sia = sia, resources = resources, notAfter = resources.valid_until, cn = cn, @@ -2467,7 +2469,7 @@ class ee_cert_obj(rpki.sql.sql_persistent): ca = ca_detail.ca, subject_key = self.cert.getPublicKey(), eku = self.cert.get_EKU(), - sia = None, + sia = (None, None, self.uri, rpki.publication.rrdp_sia_uri_kludge), resources = resources, notAfter = resources.valid_until, cn = cn, |