diff options
author | Rob Austein <sra@hactrn.net> | 2007-11-06 18:17:23 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-11-06 18:17:23 +0000 |
commit | effc370bd210ab0fd13abe21483324e1b1e28531 (patch) | |
tree | bfe90d22e037b734c36851889584959ad2d44999 /scripts/testroot.sh | |
parent | 40d178f47ef51b6ac6ebe9f1842f3a96e27769fd (diff) |
Checkpoint
svn path=/scripts/testroot.sh; revision=1245
Diffstat (limited to 'scripts/testroot.sh')
-rw-r--r-- | scripts/testroot.sh | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/scripts/testroot.sh b/scripts/testroot.sh index b7de13de..320ee461 100644 --- a/scripts/testroot.sh +++ b/scripts/testroot.sh @@ -31,7 +31,7 @@ python rpkid.py & rpkid=$! python irbe-cli.py self --action create -# Create a business signing context, issue the necessary business cert, and set up the cert chain +# Create a business signing context for parent, issue the necessary business cert, and set up the cert chain python irbe-cli.py --pem_out bsc.req bsc --action create --self_id 1 --generate_keypair --signing_cert biz-certs/Bob-CA.cer $openssl x509 -req -in bsc.req -out bsc.cer -CA biz-certs/Bob-CA.cer -CAkey biz-certs/Bob-CA.key -CAserial biz-certs/Bob-CA.srl @@ -50,6 +50,17 @@ python irbe-cli.py parent --self_id 1 --action create --bsc_id 1 --repository_id --https_ta biz-certs/Elena-Root.cer \ --sia_base rsync://wombat.invalid/ -# Shut down rpkid (there should be a left-right command for this!) +# Create a business signing context for child, issue the necessary business cert, and set up the cert chain + +python irbe-cli.py --pem_out bsc.req bsc --action create --self_id 1 --generate_keypair --signing_cert biz-certs/Frank-CA.cer +$openssl x509 -req -in bsc.req -out bsc.cer -CA biz-certs/Frank-CA.cer -CAkey biz-certs/Frank-CA.key -CAserial biz-certs/Frank-CA.srl +python irbe-cli.py bsc --action set --self_id 1 --bsc_id 2 --signing_cert bsc.cer +rm -f bsc.req bsc.cer + +# Create a child context + +python irbe-cli.py child --self_id 1 --action create --bsc_id 2 --cms_ta biz-certs/Ginny-Root.cer + +# Shut down rpkid kill $rpkid |