aboutsummaryrefslogtreecommitdiff
path: root/rp/config/rpki-generate-root-certificate
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-04-23 15:03:37 +0000
committerRob Austein <sra@hactrn.net>2016-04-23 15:03:37 +0000
commit784b20d33070a8450b23d846a0d936a356646739 (patch)
tree493851ea6578209bf4715e6d770c83837eb37865 /rp/config/rpki-generate-root-certificate
parentf81321b26b8112dc971288ec116aa64178dd3259 (diff)
Internal root sort of working, but only sort of. It's skipping the
worker CA and going straight from the root to certifying children, which is wrong. However...this is far enough along that we can now remove all the rootd glorp, which is a worthwhile simplification in its own right, so checkpoint here, remove rootd glorp, then figure out what's wrong with the internal certificate hierarchy. rcynic does validate the current output, given a manually constructed TAL, even if the current output isn't quite what it should be. So we should also be able to sort out the new TAL generation code now. Yes, checking in a version that works for the wrong reasons is weird, but the current sort-of-broken state lets us confirm that the lower levels of the tree are still correct as we go, which would be much harder if the poor thing just sat there and whimpered until we had the new internal CA code completely finished. svn path=/branches/tk705/; revision=6376
Diffstat (limited to 'rp/config/rpki-generate-root-certificate')
-rwxr-xr-xrp/config/rpki-generate-root-certificate6
1 files changed, 3 insertions, 3 deletions
diff --git a/rp/config/rpki-generate-root-certificate b/rp/config/rpki-generate-root-certificate
index d4ee08fd..10b8b194 100755
--- a/rp/config/rpki-generate-root-certificate
+++ b/rp/config/rpki-generate-root-certificate
@@ -37,9 +37,9 @@ cfg.argparser.add_argument("--tal", help = "TAL file", default =
args = cfg.argparser.parse_args()
resources = rpki.resource_set.resource_bag(
- asn = rpki.resource_set.resource_set_as(args.asns),
- v4 = rpki.resource_set.resource_set_ipv4(args.ipv4),
- v6 = rpki.resource_set.resource_set_ipv6(args.ipv6))
+ asn = args.asns,
+ v4 = args.ipv4,
+ v6 = args.ipv6)
keypair = rpki.x509.RSA.generate(quiet = True)