2 ## ============LICENSE_START====================================================
4 ## ===========================================================================
5 ## Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 ## ===========================================================================
7 ## Licensed under the Apache License, Version 2.0 (the "License");
8 ## you may not use this file except in compliance with the License.
9 ## You may obtain a copy of the License at
11 ## http://www.apache.org/licenses/LICENSE-2.0
13 ## Unless required by applicable law or agreed to in writing, software
14 ## distributed under the License is distributed on an "AS IS" BASIS,
15 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ## See the License for the specific language governing permissions and
17 ## limitations under the License.
18 ## ============LICENSE_END====================================================
21 # Edit the following in <your ONAP authz dir>/auth/sample/local
24 org.osaaf.aaf.cm.ca.props (leave out Password)
26 # cd to main docker dir
29 # Start the container in bash mode, so it stays up
32 # in another shell, find out your Container name
33 docker container ls | grep aaf_agent
35 # CD to directory with CA info in it.
37 cd /opt/app/osaaf/CA/intermediate_7
39 # copy keystore for this AAF Env
40 docker container cp -L org.osaaf.aaf.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local
42 agent encrypt cadi_keystore_password
44 # If you intend to use Certman to sign certs, it is a "local" CA
45 # copy Signing Keystore into container
46 docker container cp -L org.osaaf.aaf.signer.p12 aaf_agent_<Your ID>:/opt/app/osaaf/local
48 agent encrypt cm_ca.local
50 # Check to make sure all passwords are set
57 # watch logs in Agent Window
63 # docker gets the non-root user in its config during kubernetes
64 # install
https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh#n90
65 # sudo usermod -aG docker $USERNAME
where $USERNAME can be ubuntu