diff options
author | Sai Gandham <sg481n@att.com> | 2018-10-10 04:31:59 -0500 |
---|---|---|
committer | Sai Gandham <sg481n@att.com> | 2018-10-10 04:48:20 -0500 |
commit | 67a6d89b907a97a72cffe53daaac2f9ae2784852 (patch) | |
tree | d328acedb85cf8d9c50b159b3c3b2dad45acbbed /auth/csit/README.txt | |
parent | e90fc5fc147df5a7d76cfb5bbc41aabe0d066ccc (diff) |
add docker scripts for CSIT
Moving csit from docker folder
Issue-ID: AAF-388
Change-Id: I7efb8e7fec54ef54d3d2704ca53f1b80b0b3fea2
Signed-off-by: Sai Gandham <sg481n@att.com>
Diffstat (limited to 'auth/csit/README.txt')
-rw-r--r-- | auth/csit/README.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/auth/csit/README.txt b/auth/csit/README.txt new file mode 100644 index 00000000..3eb554b1 --- /dev/null +++ b/auth/csit/README.txt @@ -0,0 +1,40 @@ +# +# Edit the following in <your ONAP authz dir>/auth/sample/local +# +aaf.props +org.osaaf.aaf.cm.ca.props (leave out Password) + +# cd to main docker dir +cd ../../docker + +# Start the container in bash mode, so it stays up +sh agent.sh bash + +# in another shell, find out your Container name +docker container ls | grep aaf_agent + +# CD to directory with CA info in it. +# (example) +cd /opt/app/osaaf/CA/intermediate_7 + +# copy keystore for this AAF Env +docker container cp -L org.osaaf.aaf.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local +# (in Agent Window) +agent encrypt cadi_keystore_password + +# If you intend to use Certman to sign certs, it is a "local" CA +# copy Signing Keystore into container +docker container cp -L org.osaaf.aaf.signer.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local +# (in Agent Window) +agent encrypt cm_ca.local + +# Check to make sure all passwords are set +grep "enc:" *.props + + +# When good, run AAF +bash drun.sh + +# watch logs in Agent Window +cd ../logs +sh taillog |