From de95fb9525bf5f1ced2fb90924b31b78494e1e87 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 25 Feb 2014 20:46:05 +0000 Subject: 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 --- rpkid/rpki/irdb/zookeeper.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rpkid/rpki/irdb/zookeeper.py') 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)) -- cgit v1.2.3