Update dfc certificates instruction 68/93868/4
authorecaiyanlinux <martin.c.yan@est.tech>
Wed, 21 Aug 2019 08:38:04 +0000 (08:38 +0000)
committerecaiyanlinux <martin.c.yan@est.tech>
Wed, 21 Aug 2019 08:38:04 +0000 (08:38 +0000)
Change-Id: Icfbaf51d79bf1471a822b4d506d055baec185070
Issue-ID: DCAEGEN2-1662
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
docs/sections/services/dfc/certificates.rst
docs/sections/services/dfc/installation.rst

index 0572823..b759e70 100644 (file)
@@ -1,8 +1,15 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
+Certificates (From AAF)
+=======================
+DCAE service components will use common certifcates generated from AAF/test instance and made available during deployment of DCAE TLS init container.
 
-Certificates
-============
+DCAE has a generalized process of certificate distribution as documented here - https://docs.onap.org/en/latest/submodules/dcaegen2.git/docs/sections/tls_enablement.html
+
+The updated certificates are located in https://git.onap.org/dcaegen2/deployments/tree/tls-init-container/tls
+
+Certificates (Manual configuration of self-signed certifcates)
+==============================================================
 
 Configuration of Certificates in test environment(For FTP over TLS):
 
@@ -77,31 +84,31 @@ We have two keystore files, one for TrustManager, one for KeyManager.
 Copy the existing jks from the DFC container to a local environment.
 
  .. code:: bash
+
    docker cp <DFC container>:/opt/app/datafile/config/ftp.jks .
    docker cp <DFC container>:/opt/app/datafile/config/dfc.jks .
 
  .. code:: bash
+
    openssl base64 -in ftp.jks -out ftp.jks.b64
    openssl base64 -in dfc.jks -out dfc.jks.b64
 
  .. code:: bash
+
    chmod 755 ftp.jks.b64
    chmod 755 dfc.jks.b64
 
 Copy the new jks.64 files from local environment to the DFC container.
 
  .. code:: bash
+
    docker cp ftp.jks.b64 <DFC container>:/opt/app/datafile/config/
    docker cp dfc.jks.b64 <DFC container>:/opt/app/datafile/config/
 
 Finally
 
  .. code:: bash
+
    docker restart <DFC container>
 
 5. Configure vsftpd:
index bfc84e4..e50d035 100644 (file)
@@ -77,3 +77,7 @@ Another option is to pull the image first, and then run the image's container wi
 \r
 The grep command will display the images corresponding to DFC. There can be several due to remotely or locally built\r
 image, and also to different tags, i.e. different versions.\r
+\r
+Certifcates\r
+^^^^^^^^^^^\r
+.. _page: ./certifcates.rst\r