a82c70df3e902072984a404cdef5e8eb10f30a78
[nonrtric.git] / sdnc-a1-controller / oam / installation / src / main / yaml / README.md
1 The SDNC-A1 controller uses the default keystore and truststore that are built into the container.
2
3 The paths and passwords for these stores are located in a properties file:
4 nonrtric/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties
5
6 The default truststore includes the a1simulator cert as a trusted cert which is located here:
7 https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=tree;f=near-rt-ric-simulator/certificate;h=172c1e5aacd52d760e4416288dc5648a5817ce65;hb=HEAD
8
9 The default keystore, truststore, and https-props.properties files can be overridden by mounting new files using the "volumes" field of docker-compose. Uncommment the following lines in docker-compose to do this, and provide paths to the new files:
10
11 #volumes:
12     #  - <path_to_keystore>:/etc/ssl/certs/java/keystore.jks:ro
13     #  - <path_to_truststore>:/etc/ssl/certs/java/truststore.jks:ro
14     #  - <path_to_https-props>:/opt/onap/sdnc/data/properties/https-props.properties:ro
15
16 The target paths in the container should not be modified.
17
18 For example, assuming that the keystore, truststore, and https-props.properties files are located in the same directory as docker-compose:
19
20 volumes:
21       - ./new_keystore.jks:/etc/ssl/certs/java/keystore.jks:ro
22       - ./new_truststore.jks:/etc/ssl/certs/java/truststore.jks:ro
23       - ./new_https-props.properties:/opt/onap/sdnc/data/properties/https-props.properties:ro
24
25
26 ## License
27
28 Copyright (C) 2020 Nordix Foundation.
29 Licensed under the Apache License, Version 2.0 (the "License")
30 you may not use this file except in compliance with the License.
31 You may obtain a copy of the License at
32
33       http://www.apache.org/licenses/LICENSE-2.0
34
35 Unless required by applicable law or agreed to in writing, software
36 distributed under the License is distributed on an "AS IS" BASIS,
37 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38 See the License for the specific language governing permissions and
39 limitations under the License.
40
41 For more information about license please see the [LICENSE](LICENSE.txt) file for details.
42
43