blob: 3eb554b1149fd6d106818d1e9f7f967cb6676880 [file] [log] [blame]
Instrumental9c8a8b02018-07-16 18:41:10 -05001#
2# Edit the following in <your ONAP authz dir>/auth/sample/local
3#
4aaf.props
5org.osaaf.aaf.cm.ca.props (leave out Password)
6
7# cd to main docker dir
8cd ../../docker
9
Instrumental4ad47632018-07-13 15:49:26 -050010# Start the container in bash mode, so it stays up
11sh agent.sh bash
12
Instrumental4ad47632018-07-13 15:49:26 -050013# in another shell, find out your Container name
14docker container ls | grep aaf_agent
15
Instrumental9c8a8b02018-07-16 18:41:10 -050016# CD to directory with CA info in it.
17# (example)
18cd /opt/app/osaaf/CA/intermediate_7
19
Instrumental4ad47632018-07-13 15:49:26 -050020# copy keystore for this AAF Env
Instrumental9c8a8b02018-07-16 18:41:10 -050021docker container cp -L org.osaaf.aaf.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local
Instrumental4ad47632018-07-13 15:49:26 -050022# (in Agent Window)
23agent encrypt cadi_keystore_password
24
25# If you intend to use Certman to sign certs, it is a "local" CA
26# copy Signing Keystore into container
Instrumental9c8a8b02018-07-16 18:41:10 -050027docker container cp -L org.osaaf.aaf.signer.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local
Instrumental4ad47632018-07-13 15:49:26 -050028# (in Agent Window)
29agent encrypt cm_ca.local
30
Instrumental4ad47632018-07-13 15:49:26 -050031# Check to make sure all passwords are set
32grep "enc:" *.props
33
34
35# When good, run AAF
36bash drun.sh
37
38# watch logs in Agent Window
39cd ../logs
40sh taillog