Code Review
/
aaf
/
sshsm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Key distribution center container
[aaf/sshsm.git]
/
bin
/
distcenter
/
entrypoint.sh
1
#!/bin/sh
2
set -e
3
cd /createca
4
/createca/create_ca.sh
5
cd /volume
6
DLIST=`ls -d host_*`
7
for DIR in $DLIST; do
8
echo $DIR
9
cp /createca/ca/ca.cert /volume/$DIR
10
cd /volume/$DIR
11
/dup/bin/ossl_tpm_duplicate -pemfile /createca/ca/privkey.pem -parentPub /dup/database/$DIR/out_parent_public -dupPub dupPub -dupPriv dupPriv -dupSymSeed dupSymseed -dupEncKey dupEncKey
12
done