*/oam/installation/src/main/yaml*
-Once you are there you need to edit the docker-compose.yaml file to include your directory where you have the zip file and certs.properties located.
+Once you are there you need to edit the docker-compose.yaml file to map the zip file and certs.properties file into the container.
You need to add in the following lines into the yaml file just below *container_name: sdnc_controller_container* in the file::
volumes:
- - <Your_Workspace>:/opt/opendaylight/current/certs
+ - <Your_Workspace>/certs.properties:/opt/opendaylight/certs/certs.properties
+ - <Your_Workspace>/keys0.zip:/opt/opendaylight/certs/keys0.zip
Once you have the mount path for your files added into the yaml file you can run the following command::
If you want to mount a pnf-simulator onto the SDNC container the you must have the pnf-simulator container up and running and the SDNC container running with the keys and certificates in the ODL keystore.
To mount your pnf-simulator you must send the following RPC:
- *PUT /restconf/config/network-topology:network-topology/topology/topology-netconf/node/pnf-simulator*
+ *PUT /rests/data/network-topology:network-topology/topology/topology-netconf/node/pnf-simulator?content=config*
You must also send this as the body of the request::
Firstly, CertService will need to be deployed. This will require the global flag *global.cmpv2Enabled* to be set to true in *kubernetes/onap/resources/overrides/aaf-cert-service-environment.yaml*
+There is also an additional module that will need to be deployed named platform. This is required for secret creation.
+
To deploy the EJBCA server the global flag *global.addTestingComponents* in *kubernetes/onap/values.yaml* will need to be set to true. This flag will load the test configuration from *kubernetes/aaf/charts/aaf-cert-service/resources/test/cmpServers.json*
Checking Correct Certs Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you would like to run a check to make sure that your keys and certificates were installed correctly in ODL you can run the following command in Postman REST client:
- *GET http://localhost:8282/restconf/config/netconf-keystore:keystore*
+ *GET http://localhost:8282/rests/data/netconf-keystore:keystore?content=config*
The authorization that is needed to gain access to ODL’s restconf interface is the default SDNC username and password.