Instrumental | 9c8a8b0 | 2018-07-16 18:41:10 -0500 | [diff] [blame] | 1 | # |
| 2 | # Edit the following in <your ONAP authz dir>/auth/sample/local |
| 3 | # |
| 4 | aaf.props |
| 5 | org.osaaf.aaf.cm.ca.props (leave out Password) |
| 6 | |
| 7 | # cd to main docker dir |
| 8 | cd ../../docker |
| 9 | |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 10 | # Start the container in bash mode, so it stays up |
| 11 | sh agent.sh bash |
| 12 | |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 13 | # in another shell, find out your Container name |
| 14 | docker container ls | grep aaf_agent |
| 15 | |
Instrumental | 9c8a8b0 | 2018-07-16 18:41:10 -0500 | [diff] [blame] | 16 | # CD to directory with CA info in it. |
| 17 | # (example) |
| 18 | cd /opt/app/osaaf/CA/intermediate_7 |
| 19 | |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 20 | # copy keystore for this AAF Env |
Instrumental | 9c8a8b0 | 2018-07-16 18:41:10 -0500 | [diff] [blame] | 21 | docker container cp -L org.osaaf.aaf.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 22 | # (in Agent Window) |
| 23 | agent 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 |
Instrumental | 9c8a8b0 | 2018-07-16 18:41:10 -0500 | [diff] [blame] | 27 | docker container cp -L org.osaaf.aaf.signer.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 28 | # (in Agent Window) |
| 29 | agent encrypt cm_ca.local |
| 30 | |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 31 | # Check to make sure all passwords are set |
| 32 | grep "enc:" *.props |
| 33 | |
| 34 | |
| 35 | # When good, run AAF |
| 36 | bash drun.sh |
| 37 | |
| 38 | # watch logs in Agent Window |
| 39 | cd ../logs |
| 40 | sh taillog |