diff options
author | Rob Austein <sra@hactrn.net> | 2014-02-25 20:46:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-02-25 20:46:05 +0000 |
commit | de95fb9525bf5f1ced2fb90924b31b78494e1e87 (patch) | |
tree | 7c529a242b334e38a0d78761a0dfad12c452bfcf /rpkid/rpki/irdb/zookeeper.py | |
parent | bf0b63854ec52df692a503eb78e270363f31ebfd (diff) |
Something broke MySQLdb on my laptop during a recent upgrade, and I
have better things to do than shaving that particular yak today. So
I'm committing untested changes (to a development branch that nobody
but me is using) so I can test them on a working development platform.
svn path=/branches/tk671/; revision=5682
Diffstat (limited to 'rpkid/rpki/irdb/zookeeper.py')
-rw-r--r-- | rpkid/rpki/irdb/zookeeper.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rpkid/rpki/irdb/zookeeper.py b/rpkid/rpki/irdb/zookeeper.py index 339503fb..87875fd5 100644 --- a/rpkid/rpki/irdb/zookeeper.py +++ b/rpkid/rpki/irdb/zookeeper.py @@ -1656,11 +1656,16 @@ class Zookeeper(object): pkcs10.check_valid_request_router() + cn = "ROUTER-%08x" % asns[0].min + sn = "%08x" % router_id + ee_request = self.resource_ca.ee_certificate_requests.create( pkcs10 = pkcs10, gski = pkcs10.gSKI(), valid_until = valid_until, - router_id = router_id) + cn = cn, + sn = sn, + eku = rpki.oids.id_kp_bgpsec_router) for range in asns: ee_request.asns.create(start_as = str(range.min), end_as = str(range.max)) |