diff options
-rw-r--r-- | scripts/biz-certs/Bob-CA.srl | 2 | ||||
-rw-r--r-- | scripts/testroot.sh | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/scripts/biz-certs/Bob-CA.srl b/scripts/biz-certs/Bob-CA.srl index 7bc45d63..49512e5e 100644 --- a/scripts/biz-certs/Bob-CA.srl +++ b/scripts/biz-certs/Bob-CA.srl @@ -1 +1 @@ -90801F1ED1945553 +90801F1ED1945558 diff --git a/scripts/testroot.sh b/scripts/testroot.sh index b4d62c36..4fdb1058 100644 --- a/scripts/testroot.sh +++ b/scripts/testroot.sh @@ -63,9 +63,14 @@ time python irbe-cli.py parent --self_id 1 --action create --bsc_id 1 --reposito time python irbe-cli.py child --self_id 1 --action create --bsc_id 1 --cms_ta biz-certs/Frank-Root.cer -# Need to link irdb to created child. For now, just do this manually in MySQL CLI: -# -# UPDATE registrant SET rpki_self_id = 1, rpki_child_id = 1 WHERE subject_name = "Epilogue Technology Corporation" +# Need to link irdb to created child and clear conflicting links. +# For now, just do this "manually" in MySQL CLI. + +echo ' + UPDATE registrant SET rpki_self_id = NULL, rpki_child_id = NULL; + UPDATE registrant SET rpki_self_id = 1, rpki_child_id = 1 WHERE subject_name = "Epilogue Technology Corporation"; +' | +mysql -u irdb -p`awk '$1 == "sql-password" {print $3}' irbe.conf` irdb if test "$1" = "run" then |