X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdnc-a1-controller%2Foam%2Finstallation%2Fsrc%2Fmain%2Fyaml%2FREADME.md;h=2957c8681404f1b94d89933e8c2a7766df473d56;hb=4fea8f622cd8095003e6310b94bc860ec2481ec4;hp=a82c70df3e902072984a404cdef5e8eb10f30a78;hpb=a558fd6f5a4b929c06168ba2e7f93f787bcf142f;p=nonrtric.git diff --git a/sdnc-a1-controller/oam/installation/src/main/yaml/README.md b/sdnc-a1-controller/oam/installation/src/main/yaml/README.md index a82c70df..2957c868 100644 --- a/sdnc-a1-controller/oam/installation/src/main/yaml/README.md +++ b/sdnc-a1-controller/oam/installation/src/main/yaml/README.md @@ -1,27 +1,30 @@ The SDNC-A1 controller uses the default keystore and truststore that are built into the container. The paths and passwords for these stores are located in a properties file: -nonrtric/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties +`nonrtric/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties` The default truststore includes the a1simulator cert as a trusted cert which is located here: -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 + 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: +```yaml #volumes: - # - :/etc/ssl/certs/java/keystore.jks:ro - # - :/etc/ssl/certs/java/truststore.jks:ro - # - :/opt/onap/sdnc/data/properties/https-props.properties:ro +# - :/etc/ssl/certs/java/keystore.jks:ro +# - :/etc/ssl/certs/java/truststore.jks:ro +# - :/opt/onap/sdnc/data/properties/https-props.properties:ro +``` The target paths in the container should not be modified. For example, assuming that the keystore, truststore, and https-props.properties files are located in the same directory as docker-compose: +```yaml volumes: - ./new_keystore.jks:/etc/ssl/certs/java/keystore.jks:ro - ./new_truststore.jks:/etc/ssl/certs/java/truststore.jks:ro - ./new_https-props.properties:/opt/onap/sdnc/data/properties/https-props.properties:ro - +``` ## License