Skip to content

Commit

Permalink
Fixed directories in run-local script
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Wong committed Feb 8, 2019
1 parent c05a361 commit 4ed862d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion control/virtue-security/run-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

export CFSSL_SHARED_SECRET=de1069ab43f7f385d9a31b76af27e7620e9aa2ad5dccd264367422a452aba67f

mkdir certs

echo "Getting Client Certificate"
python ./tools/get_certificates.py --cfssl-host sensing-ca.savior.internal --hostname api -d certs --quiet

echo "Running virtue-security"
python virtue-security --public-key-path /usr/src/app/certs/cert.pem "$@" --ca-key-path /usr/src/app/certs/ca.pem --private-key-path /usr/src/app/certs/cert-key.pem
python virtue-security --public-key-path certs/cert.pem "$@" --ca-key-path certs/ca.pem --private-key-path certs/cert-key.pem

0 comments on commit 4ed862d

Please sign in to comment.